On Wed, 25 May 2022 15:20:45 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

> Hi,
> 
> May I have the test case update reviewed?
> 
> This patch is trying to use ForceGC for cleaner test cases.  As would make 
> the test more stable and easier to maintain.
> 
> Thanks,
> Xuelei

The usage looks fine.

(But ForceGC is a heavyweight blunt instrument. 
It creates a new Cleaner for every instance and an instance can only be used 
once.
Also, its minimum wait/sleep time is 1 second, that's a loooong time.).

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

Marked as reviewed by rriggs (Reviewer).

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

Reply via email to