8321550: Update several runtime/cds tests to use vm flags or mark as flagless
Reviewed-by: matsaave, iklam
This commit is contained in:
parent
8a0ef811ed
commit
d1b51e39c9
@ -49,7 +49,7 @@ public class TestCDSVMCrash {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// else this is the main test
|
// else this is the main test
|
||||||
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:+CrashOnOutOfMemoryError",
|
ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder("-XX:+CrashOnOutOfMemoryError",
|
||||||
"-XX:-CreateCoredumpOnCrash", "-Xmx128m",
|
"-XX:-CreateCoredumpOnCrash", "-Xmx128m",
|
||||||
"-Xshare:on", TestCDSVMCrash.class.getName(),
|
"-Xshare:on", TestCDSVMCrash.class.getName(),
|
||||||
"throwOOME");
|
"throwOOME");
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
* @summary VM crash caused by unloaded FillerObject_klass
|
* @summary VM crash caused by unloaded FillerObject_klass
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @requires vm.cds
|
* @requires vm.cds
|
||||||
|
* @requires vm.flagless
|
||||||
* @run driver FillerObjectLoadTest
|
* @run driver FillerObjectLoadTest
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
* @bug 8279009 8275084
|
* @bug 8279009 8275084
|
||||||
* @requires vm.cds
|
* @requires vm.cds
|
||||||
* @requires vm.cds.custom.loaders
|
* @requires vm.cds.custom.loaders
|
||||||
|
* @requires vm.flagless
|
||||||
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
|
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
|
||||||
* @compile test-classes/Hello.java ClassSpecializerTestApp.java ClassListWithCustomClassNoSource.java
|
* @compile test-classes/Hello.java ClassSpecializerTestApp.java ClassListWithCustomClassNoSource.java
|
||||||
* @run main/othervm TestDumpClassListSource
|
* @run main/othervm TestDumpClassListSource
|
||||||
|
@ -42,7 +42,7 @@ public class ResolvedReferencesNotNullTest {
|
|||||||
String appJar = TestCommon.getTestJar(SharedStringsUtils.TEST_JAR_NAME_FULL);
|
String appJar = TestCommon.getTestJar(SharedStringsUtils.TEST_JAR_NAME_FULL);
|
||||||
String whiteboxParam = SharedStringsUtils.getWbParam();
|
String whiteboxParam = SharedStringsUtils.getWbParam();
|
||||||
|
|
||||||
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder("-cp",
|
ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder("-cp",
|
||||||
appJar,
|
appJar,
|
||||||
whiteboxParam,
|
whiteboxParam,
|
||||||
"-XX:+UnlockDiagnosticVMOptions",
|
"-XX:+UnlockDiagnosticVMOptions",
|
||||||
|
Loading…
Reference in New Issue
Block a user