[jdk16] RFR: 8258007: Add instrumentation to NativeLibraryTest [v3]

Brent Christian bchristi at openjdk.java.net
Fri Dec 18 23:45:10 UTC 2020


On Fri, 18 Dec 2020 23:31:35 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   format() -> println()
>
> test/lib/jdk/test/lib/util/ForceGC.java line 48:
> 
>> 46:             for (int i = 0; i < 10; i++) {
>> 47:                 System.gc();
>> 48:                 System.out.format("doit %d: gc %d%n", iter, i);
> 
> Could be better to keep using println(), if performance is important.

I agree we don't need format() here

-------------

PR: https://git.openjdk.java.net/jdk16/pull/53


More information about the core-libs-dev mailing list