Mercurial > hg > graal-jvmci-8
comparison test/runtime/SharedArchiveFile/CdsSameObjectAlignment.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 |
comparison
equal
deleted
inserted
replaced
12156:2918c7e21a3a | 12157:35b99e7e0af2 |
---|---|
82 // CDS uses absolute addresses for performance. | 82 // CDS uses absolute addresses for performance. |
83 // It will try to reserve memory at a specific address; | 83 // It will try to reserve memory at a specific address; |
84 // there is a chance such reservation will fail | 84 // there is a chance such reservation will fail |
85 // If it does, it is NOT considered a failure of the feature, | 85 // If it does, it is NOT considered a failure of the feature, |
86 // rather a possible expected outcome, though not likely | 86 // rather a possible expected outcome, though not likely |
87 output.shouldContain("Could not allocate metaspace at a compatible address"); | 87 output.shouldContain("Unable to use shared archive"); |
88 output.shouldHaveExitValue(1); | 88 output.shouldHaveExitValue(1); |
89 } | 89 } |
90 } | 90 } |
91 } | 91 } |