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-8375485 Tests in vmTestbase/nsk are failing due to missing class unloading after 8373945
-
- Resolved
-
-
JDK-8370732 Use WhiteBox.getWhiteBox().fullGC() to provoking gc for nsk/jvmti tests
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/ce5e0d8a
-
Review(master)
openjdk/jdk25u-dev/199
-
Review(master)
openjdk/jdk/28891