RFR: 8282642: vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java fails intermittently with exit code 1
Leonid Mesnik
lmesnik at openjdk.org
Tue Jul 26 01:54:49 UTC 2022
On Mon, 25 Jul 2022 16:09:27 GMT, Ramkumar Sunderbabu <rsunderbabu at openjdk.org> wrote:
> LoadUnloadGC2 tests the Class unloading during GC. In order to trigger the GC, lots of memory is created at a short interval. Instead of GC getting triggered, the test quickly gets into OOME.
> Using WhiteBox.fullGC is a cleaner and deterministic way to trigger GC.
test/hotspot/jtreg/vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java line 56:
> 54: while (stresser.iteration()) {
> 55: log.info("Iteration: " + stresser.getIteration());
> 56: WhiteBox.getWhiteBox().fullGC();
We need to create some classes to unload them. Are they created?
-------------
PR: https://git.openjdk.org/jdk/pull/9628
More information about the hotspot-gc-dev
mailing list