< prev index next >
test/hotspot/jtreg/runtime/SharedArchiveFile/DumpSharedDictionary.java
Print this page
@@ -40,21 +40,19 @@
public static void main(String[] args) throws Exception {
if (args.length == 0) {
// Start this process
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
- "-XX:+UnlockDiagnosticVMOptions",
"-XX:SharedArchiveFile=./DumpSharedDictionary.jsa",
"-Xshare:dump");
OutputAnalyzer out = CDSTestUtils.executeAndLog(pb, "dump");
out.shouldHaveExitValue(0);
String testjdkPath = System.getProperty("test.jdk");
pb = ProcessTools.createJavaProcessBuilder(
- "-XX:+UnlockDiagnosticVMOptions",
"-XX:SharedArchiveFile=./DumpSharedDictionary.jsa",
"-Dtest.jdk=" + testjdkPath,
"-Xshare:on", "DumpSharedDictionary", "test");
out = CDSTestUtils.executeAndLog(pb, "exec");
< prev index next >