diff 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
line wrap: on
line diff
--- a/test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java	Fri Aug 30 15:42:01 2013 -0700
+++ b/test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java	Sun Sep 01 10:37:01 2013 -0400
@@ -84,7 +84,7 @@
             // there is a chance such reservation will fail
             // If it does, it is NOT considered a failure of the feature,
             // rather a possible expected outcome, though not likely
-            output.shouldContain("Could not allocate metaspace at a compatible address");
+            output.shouldContain("Unable to use shared archive");
             output.shouldHaveExitValue(1);
         }
     }