< prev index next >

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

Print this page
rev 59103 : imported patch hotspot

*** 40,51 **** } public static void test(String[] args) throws Exception { String vmOptionsPrefix[] = SharedStringsUtils.getChildVMOptionsPrefix(); ! // SharedBaseAddress=0 puts the archive at a very high address on solaris, ! // which provokes the crash. ProcessBuilder dumpPb = ProcessTools.createJavaProcessBuilder(true, TestCommon.concat(vmOptionsPrefix, "-XX:+UseG1GC", "-XX:MaxRAMPercentage=12.5", "-cp", ".", "-XX:SharedBaseAddress=0", "-XX:SharedArchiveFile=./SysDictCrash.jsa", --- 40,50 ---- } public static void test(String[] args) throws Exception { String vmOptionsPrefix[] = SharedStringsUtils.getChildVMOptionsPrefix(); ! // SharedBaseAddress=0 puts the archive at a very high address, which provokes the crash. ProcessBuilder dumpPb = ProcessTools.createJavaProcessBuilder(true, TestCommon.concat(vmOptionsPrefix, "-XX:+UseG1GC", "-XX:MaxRAMPercentage=12.5", "-cp", ".", "-XX:SharedBaseAddress=0", "-XX:SharedArchiveFile=./SysDictCrash.jsa",
< prev index next >