On Tue, 3 May 2022 02:20:23 GMT, Xue-Lei Andrew Fan <xue...@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()`. > >> 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. @XueleiFan Did you check to make sure someone ran Mach5 and the results were ok before integrating? ------------- PR: https://git.openjdk.java.net/jdk/pull/8136