hotspot/src/share/vm/memory/filemap.cpp
changeset 2140 07437c6a4cd4
parent 2131 98f9cef66a34
child 5547 f4b087cbb361
equal deleted inserted replaced
2139:6666cd420526 2140:07437c6a4cd4
    33 
    33 
    34 
    34 
    35 extern address JVM_FunctionAtStart();
    35 extern address JVM_FunctionAtStart();
    36 extern address JVM_FunctionAtEnd();
    36 extern address JVM_FunctionAtEnd();
    37 
    37 
    38 // Complain and stop. All error conditions occuring during the writing of
    38 // Complain and stop. All error conditions occurring during the writing of
    39 // an archive file should stop the process.  Unrecoverable errors during
    39 // an archive file should stop the process.  Unrecoverable errors during
    40 // the reading of the archive file should stop the process.
    40 // the reading of the archive file should stop the process.
    41 
    41 
    42 static void fail(const char *msg, va_list ap) {
    42 static void fail(const char *msg, va_list ap) {
    43   // This occurs very early during initialization: tty is not initialized.
    43   // This occurs very early during initialization: tty is not initialized.
    44   jio_fprintf(defaultStream::error_stream(),
    44   jio_fprintf(defaultStream::error_stream(),
    45               "An error has occured while processing the"
    45               "An error has occurred while processing the"
    46               " shared archive file.\n");
    46               " shared archive file.\n");
    47   jio_vfprintf(defaultStream::error_stream(), msg, ap);
    47   jio_vfprintf(defaultStream::error_stream(), msg, ap);
    48   jio_fprintf(defaultStream::error_stream(), "\n");
    48   jio_fprintf(defaultStream::error_stream(), "\n");
    49   vm_exit_during_initialization("Unable to use shared archive.", NULL);
    49   vm_exit_during_initialization("Unable to use shared archive.", NULL);
    50 }
    50 }