RFR: 8282642: vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java fails intermittently with exit code 1

Ramkumar Sunderbabu rsunderbabu at openjdk.org
Mon Jul 25 16:16:25 UTC 2022


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.

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

Commit messages:
 - 8282642: vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java fails intermittently with exit code 1

Changes: https://git.openjdk.org/jdk/pull/9628/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9628&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8282642
  Stats: 8 lines in 1 file changed: 3 ins; 2 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/9628.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9628/head:pull/9628

PR: https://git.openjdk.org/jdk/pull/9628



More information about the hotspot-gc-dev mailing list