On Tue, 31 May 2022 13:26:17 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> Hi,
>> 
>> May I have this test update reviewed?
>> 
>> The ForceGC could be enhanced by using smaller wait/sleep time, and shared 
>> cleaner.
>> 
>> Thanks,
>> Xuelei
>
> test/lib/jdk/test/lib/util/ForceGC.java line 50:
> 
>> 48:             for (int i = 0; i < 100; i++) {
>> 49:                 System.gc();
>> 50:                 System.out.println("doIt() iter: " + iter + ", gc " + i);
> 
> Maybe the trace should be printed only if `(i % 10 == 0) && (iter % 100 == 
> 0)` to avoid having too many traces in the log?

This log was added to help debugging some past issues.  With this change, the 
volume of this trace would not be that helpful.   I think we can remove this 
log at this time.

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

PR: https://git.openjdk.java.net/jdk/pull/8907

Reply via email to