21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/classLoader.hpp"
27 #include "classfile/compactHashtable.inline.hpp"
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/jvmtiExport.hpp"
42 #include "runtime/arguments.hpp"
43 #include "runtime/java.hpp"
44 #include "runtime/os.hpp"
45 #include "runtime/vm_version.hpp"
46 #include "services/memTracker.hpp"
47 #include "utilities/defaultStream.hpp"
48
49 # include <sys/stat.h>
50 # include <errno.h>
51
52 #ifndef O_BINARY // if defined (Win32) use binary files.
53 #define O_BINARY 0 // otherwise do nothing.
54 #endif
55
56 extern address JVM_FunctionAtStart();
57 extern address JVM_FunctionAtEnd();
58
59 // Complain and stop. All error conditions occurring during the writing of
60 // an archive file should stop the process. Unrecoverable errors during
|
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/classLoader.hpp"
27 #include "classfile/compactHashtable.inline.hpp"
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
|