< prev index next >

src/share/vm/memory/filemap.cpp

Print this page




  28 #include "classfile/sharedClassUtil.hpp"
  29 #include "classfile/symbolTable.hpp"
  30 #include "classfile/systemDictionaryShared.hpp"
  31 #include "classfile/altHashing.hpp"
  32 #if INCLUDE_ALL_GCS
  33 #include "gc/g1/g1CollectedHeap.hpp"
  34 #endif
  35 #include "logging/log.hpp"
  36 #include "logging/logMessage.hpp"
  37 #include "memory/filemap.hpp"
  38 #include "memory/metadataFactory.hpp"
  39 #include "memory/oopFactory.hpp"
  40 #include "oops/objArrayOop.hpp"
  41 #include "prims/jvm.h"
  42 #include "prims/jvmtiExport.hpp"
  43 #include "runtime/arguments.hpp"
  44 #include "runtime/java.hpp"
  45 #include "runtime/os.hpp"
  46 #include "runtime/vm_version.hpp"
  47 #include "services/memTracker.hpp"

  48 #include "utilities/defaultStream.hpp"
  49 
  50 # include <sys/stat.h>
  51 # include <errno.h>
  52 
  53 #ifndef O_BINARY       // if defined (Win32) use binary files.
  54 #define O_BINARY 0     // otherwise do nothing.
  55 #endif
  56 
  57 extern address JVM_FunctionAtStart();
  58 extern address JVM_FunctionAtEnd();
  59 
  60 // Complain and stop. All error conditions occurring during the writing of
  61 // an archive file should stop the process.  Unrecoverable errors during
  62 // the reading of the archive file should stop the process.
  63 
  64 static void fail(const char *msg, va_list ap) {
  65   // This occurs very early during initialization: tty is not initialized.
  66   jio_fprintf(defaultStream::error_stream(),
  67               "An error has occurred while processing the"




  28 #include "classfile/sharedClassUtil.hpp"
  29 #include "classfile/symbolTable.hpp"
  30 #include "classfile/systemDictionaryShared.hpp"
  31 #include "classfile/altHashing.hpp"
  32 #if INCLUDE_ALL_GCS
  33 #include "gc/g1/g1CollectedHeap.hpp"
  34 #endif
  35 #include "logging/log.hpp"
  36 #include "logging/logMessage.hpp"
  37 #include "memory/filemap.hpp"
  38 #include "memory/metadataFactory.hpp"
  39 #include "memory/oopFactory.hpp"
  40 #include "oops/objArrayOop.hpp"
  41 #include "prims/jvm.h"
  42 #include "prims/jvmtiExport.hpp"
  43 #include "runtime/arguments.hpp"
  44 #include "runtime/java.hpp"
  45 #include "runtime/os.hpp"
  46 #include "runtime/vm_version.hpp"
  47 #include "services/memTracker.hpp"
  48 #include "utilities/align.hpp"
  49 #include "utilities/defaultStream.hpp"
  50 
  51 # include <sys/stat.h>
  52 # include <errno.h>
  53 
  54 #ifndef O_BINARY       // if defined (Win32) use binary files.
  55 #define O_BINARY 0     // otherwise do nothing.
  56 #endif
  57 
  58 extern address JVM_FunctionAtStart();
  59 extern address JVM_FunctionAtEnd();
  60 
  61 // Complain and stop. All error conditions occurring during the writing of
  62 // an archive file should stop the process.  Unrecoverable errors during
  63 // the reading of the archive file should stop the process.
  64 
  65 static void fail(const char *msg, va_list ap) {
  66   // This occurs very early during initialization: tty is not initialized.
  67   jio_fprintf(defaultStream::error_stream(),
  68               "An error has occurred while processing the"


< prev index next >