Mercurial > hg > graal-jvmci-8
comparison test/runtime/CDSCompressedKPtrs/XShareAuto.java @ 12157:35b99e7e0af2
8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Summary: Improve handling when CDS archive cannot be mapped
Reviewed-by: kvn, dholmes, mseledtsov
author | hseigel |
---|---|
date | Sun, 01 Sep 2013 10:37:01 -0400 |
parents | 740e263c80c6 |
children | 9ed97b511b26 |
comparison
equal
deleted
inserted
replaced
12156:2918c7e21a3a | 12157:35b99e7e0af2 |
---|---|
67 // return a success status. | 67 // return a success status. |
68 pb = ProcessTools.createJavaProcessBuilder( | 68 pb = ProcessTools.createJavaProcessBuilder( |
69 "-server", "-Xshare:on", "-XX:+UnlockDiagnosticVMOptions", | 69 "-server", "-Xshare:on", "-XX:+UnlockDiagnosticVMOptions", |
70 "-XX:SharedArchiveFile=./sample.jsa", "-version"); | 70 "-XX:SharedArchiveFile=./sample.jsa", "-version"); |
71 output = new OutputAnalyzer(pb.start()); | 71 output = new OutputAnalyzer(pb.start()); |
72 output.shouldContain("Could not allocate metaspace at a compatible address"); | 72 output.shouldContain("Unable to use shared archive"); |
73 output.shouldHaveExitValue(1); | 73 output.shouldHaveExitValue(1); |
74 } | 74 } |
75 } | 75 } |
76 } | 76 } |