8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java

Improve handling when CDS archive cannot be mapped

Reviewed-by: kvn, dholmes, mseledtsov
This commit is contained in:
Harold Seigel 2013-09-01 10:37:01 -04:00
parent dac29a1204
commit a320f6a566
4 changed files with 5 additions and 5 deletions

View file

@ -55,6 +55,7 @@ static void fail(const char *msg, va_list ap) {
" shared archive file.\n");
jio_vfprintf(defaultStream::error_stream(), msg, ap);
jio_fprintf(defaultStream::error_stream(), "\n");
// Do not change the text of the below message because some tests check for it.
vm_exit_during_initialization("Unable to use shared archive.", NULL);
}