Skip to content

Commit 3f59bfd

Browse files
author
Thomas Schatzl
committed
8334759: gc/g1/TestMixedGCLiveThreshold.java fails on Windows with JTREG_TEST_THREAD_FACTORY=Virtual due to extra memory allocation
Reviewed-by: ayang, iwalulya
1 parent c5a1543 commit 3f59bfd

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/hotspot/jtreg/ProblemList-Virtual.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemor
8383
# to make progress when all other threads are currently suspended.
8484
vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended002/TestDescription.java 8338713 generic-all
8585

86-
###
87-
# Fails on Windows because of additional memory allocation.
88-
89-
gc/g1/TestMixedGCLiveThreshold.java#25percent 8334759 windows-x64
90-
9186
##########
9287
## Tests incompatible with with virtual test thread factory.
9388
## There is no goal to run all test with virtual test thread factory.

test/hotspot/jtreg/gc/g1/TestMixedGCLiveThreshold.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @summary Test G1MixedGCLiveThresholdPercent=0. Fill up a region to at least 33 percent,
2929
* the region should not be selected for mixed GC cycle.
3030
* @requires vm.gc.G1
31+
* @requires test.thread.factory != "Virtual"
3132
* @library /test/lib
3233
* @build jdk.test.whitebox.WhiteBox
3334
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
@@ -39,6 +40,7 @@
3940
* @summary Test G1MixedGCLiveThresholdPercent=25. Fill up a region to at least 33 percent,
4041
* the region should not be selected for mixed GC cycle.
4142
* @requires vm.gc.G1
43+
* @requires test.thread.factory != "Virtual"
4244
* @library /test/lib
4345
* @build jdk.test.whitebox.WhiteBox
4446
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
@@ -50,6 +52,7 @@
5052
* @summary Test G1MixedGCLiveThresholdPercent=100. Fill up a region to at least 33 percent,
5153
* the region should be selected for mixed GC cycle.
5254
* @requires vm.gc.G1
55+
* @requires test.thread.factory != "Virtual"
5356
* @library /test/lib
5457
* @build jdk.test.whitebox.WhiteBox
5558
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

0 commit comments

Comments
 (0)