On Mon, 2 May 2022 22:35:08 GMT, Brent Christian <bchri...@openjdk.org> wrote:
> Hi. Sorry, I should have brought this up earlier, but there is a jtreg test > library to help with ensuring the GC runs, > `test/lib/jdk/test/lib/util/ForceGC.java`. You might consider replacing the > test code that runs/checks the GC with `ForceGC.await()`. It looks like a graceful GC utility. There are also some other test cases I committed that do no use ForceGC. I filed a [new bug](https://bugs.openjdk.java.net/browse/JDK-8286045), and will make the update all together. Thank you. ------------- PR: https://git.openjdk.java.net/jdk/pull/8136