RFR: 8286045: Use ForceGC for cleaner test cases

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Wed May 25 21:27:45 UTC 2022


On Wed, 25 May 2022 17:23:06 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> (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.).

I thought about something similar when I read the ForceGC implementation.  I may file an enhancement for ForceGC later.

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

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



More information about the security-dev mailing list