Mercurial > hg > truffle
comparison src/share/vm/memory/filemap.cpp @ 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 | ff056d90e349 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
12156:2918c7e21a3a | 12157:35b99e7e0af2 |
---|---|
53 jio_fprintf(defaultStream::error_stream(), | 53 jio_fprintf(defaultStream::error_stream(), |
54 "An error has occurred while processing the" | 54 "An error has occurred while processing the" |
55 " shared archive file.\n"); | 55 " shared archive file.\n"); |
56 jio_vfprintf(defaultStream::error_stream(), msg, ap); | 56 jio_vfprintf(defaultStream::error_stream(), msg, ap); |
57 jio_fprintf(defaultStream::error_stream(), "\n"); | 57 jio_fprintf(defaultStream::error_stream(), "\n"); |
58 // Do not change the text of the below message because some tests check for it. | |
58 vm_exit_during_initialization("Unable to use shared archive.", NULL); | 59 vm_exit_during_initialization("Unable to use shared archive.", NULL); |
59 } | 60 } |
60 | 61 |
61 | 62 |
62 void FileMapInfo::fail_stop(const char *msg, ...) { | 63 void FileMapInfo::fail_stop(const char *msg, ...) { |