8311026: Some G1 specific tests do not set -XX:+UseG1GC

Backport-of: a7d168b522
This commit is contained in:
Matthias Baesken
2023-07-28 07:11:57 +00:00
committed by Vitaly Provodin
parent f7e85e502e
commit 1243d1e435
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xms1g -Xmx1g -Xlog:gc TestJNICriticalStressTest 30 4 4 G1
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+UseG1GC -Xms1g -Xmx1g -Xlog:gc TestJNICriticalStressTest 30 4 4 G1
*/
/*

View File

@@ -35,7 +35,7 @@ package gc.g1;
* -Xbootclasspath/a:.
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:+VerifyBeforeGC -XX:+VerifyDuringGC -XX:+VerifyAfterGC
* -XX:+G1VerifyHeapRegionCodeRoots
* -XX:+UseG1GC -XX:+G1VerifyHeapRegionCodeRoots
* -XX:+VerifyRememberedSets -XX:+VerifyObjectStartArray
* -XX:+G1VerifyBitmaps
* gc.g1.TestVerificationInConcurrentCycle
@@ -54,7 +54,7 @@ package gc.g1;
* -Xbootclasspath/a:.
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* -XX:+VerifyBeforeGC -XX:+VerifyDuringGC -XX:+VerifyAfterGC
* -XX:+G1VerifyHeapRegionCodeRoots
* -XX:+UseG1GC -XX:+G1VerifyHeapRegionCodeRoots
* -XX:+VerifyRememberedSets -XX:+VerifyObjectStartArray
* gc.g1.TestVerificationInConcurrentCycle
*/

View File

@@ -78,7 +78,7 @@
* @author Mandy Chung
*
* @modules jdk.management
* @run main MemoryTest 3 3
* @run main/othervm -XX:+UseG1GC MemoryTest 3 3
*/
/*