The vmTestbase tests often fills memory until OOME to trigger full GC.
This approach is unreliable, the OOME might happen in any thread and lead to unexpected intermittent test failures.
The WB.fullGC() might be use for same purpose. It also reduce test execution time.
This approach is unreliable, the OOME might happen in any thread and lead to unexpected intermittent test failures.
The WB.fullGC() might be use for same purpose. It also reduce test execution time.
- relates to
-
JDK-8370732 Use WhiteBox.getWhiteBox().fullGC() to provoking gc for nsk/jvmti tests
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/28891