8334759: gc/g1/TestMixedGCLiveThreshold.java fails on Windows with JTREG_TEST_THREAD_FACTORY=Virtual due to extra memory allocation

Reviewed-by: ayang, iwalulya
This commit is contained in:
Thomas Schatzl 2025-06-02 07:59:10 +00:00
parent c5a1543ee3
commit 3f59bfd2e1
2 changed files with 3 additions and 5 deletions

View File

@ -83,11 +83,6 @@ vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemor
# to make progress when all other threads are currently suspended.
vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended002/TestDescription.java 8338713 generic-all
###
# Fails on Windows because of additional memory allocation.
gc/g1/TestMixedGCLiveThreshold.java#25percent 8334759 windows-x64
##########
## Tests incompatible with with virtual test thread factory.
## There is no goal to run all test with virtual test thread factory.

View File

@ -28,6 +28,7 @@ package gc.g1;
* @summary Test G1MixedGCLiveThresholdPercent=0. Fill up a region to at least 33 percent,
* the region should not be selected for mixed GC cycle.
* @requires vm.gc.G1
* @requires test.thread.factory != "Virtual"
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
@ -39,6 +40,7 @@ package gc.g1;
* @summary Test G1MixedGCLiveThresholdPercent=25. Fill up a region to at least 33 percent,
* the region should not be selected for mixed GC cycle.
* @requires vm.gc.G1
* @requires test.thread.factory != "Virtual"
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
@ -50,6 +52,7 @@ package gc.g1;
* @summary Test G1MixedGCLiveThresholdPercent=100. Fill up a region to at least 33 percent,
* the region should be selected for mixed GC cycle.
* @requires vm.gc.G1
* @requires test.thread.factory != "Virtual"
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox