< prev index next >

test/hotspot/jtreg/runtime/appcds/sharedStrings/SysDictCrash.java

Print this page

        

*** 42,63 **** // SharedBaseAddress=0 puts the archive at a very high address on solaris, // which provokes the crash. ProcessBuilder dumpPb = ProcessTools.createJavaProcessBuilder(true, TestCommon.makeCommandLineForAppCDS( "-XX:+UseG1GC", "-XX:MaxRAMPercentage=12.5", - "-XX:+UseAppCDS", "-cp", ".", "-XX:SharedBaseAddress=0", "-XX:SharedArchiveFile=./SysDictCrash.jsa", "-Xshare:dump", "-showversion", "-Xlog:cds,cds+hashtables")); TestCommon.checkDump(TestCommon.executeAndLog(dumpPb, "dump")); ProcessBuilder runPb = ProcessTools.createJavaProcessBuilder(true, TestCommon.makeCommandLineForAppCDS( "-XX:+UseG1GC", "-XX:MaxRAMPercentage=12.5", - "-XX:+UseAppCDS", "-XX:SharedArchiveFile=./SysDictCrash.jsa", "-Xshare:on", "-version")); TestCommon.checkExec(TestCommon.executeAndLog(runPb, "exec")); --- 42,61 ----
< prev index next >