equal
deleted
inserted
replaced
61 #include "oops/oop.inline.hpp" |
61 #include "oops/oop.inline.hpp" |
62 #include "oops/typeArrayKlass.hpp" |
62 #include "oops/typeArrayKlass.hpp" |
63 #include "prims/resolvedMethodTable.hpp" |
63 #include "prims/resolvedMethodTable.hpp" |
64 #include "runtime/arguments.hpp" |
64 #include "runtime/arguments.hpp" |
65 #include "runtime/atomic.hpp" |
65 #include "runtime/atomic.hpp" |
66 #include "runtime/commandLineFlagConstraintList.hpp" |
66 #include "runtime/flags/flagSetting.hpp" |
|
67 #include "runtime/flags/jvmFlagConstraintList.hpp" |
67 #include "runtime/deoptimization.hpp" |
68 #include "runtime/deoptimization.hpp" |
68 #include "runtime/handles.inline.hpp" |
69 #include "runtime/handles.inline.hpp" |
69 #include "runtime/init.hpp" |
70 #include "runtime/init.hpp" |
70 #include "runtime/java.hpp" |
71 #include "runtime/java.hpp" |
71 #include "runtime/javaCalls.hpp" |
72 #include "runtime/javaCalls.hpp" |
699 CompressedClassSpaceCounters::initialize_performance_counters(); |
700 CompressedClassSpaceCounters::initialize_performance_counters(); |
700 |
701 |
701 AOTLoader::universe_init(); |
702 AOTLoader::universe_init(); |
702 |
703 |
703 // Checks 'AfterMemoryInit' constraints. |
704 // Checks 'AfterMemoryInit' constraints. |
704 if (!CommandLineFlagConstraintList::check_constraints(CommandLineFlagConstraint::AfterMemoryInit)) { |
705 if (!JVMFlagConstraintList::check_constraints(JVMFlagConstraint::AfterMemoryInit)) { |
705 return JNI_EINVAL; |
706 return JNI_EINVAL; |
706 } |
707 } |
707 |
708 |
708 // Create memory for metadata. Must be after initializing heap for |
709 // Create memory for metadata. Must be after initializing heap for |
709 // DumpSharedSpaces. |
710 // DumpSharedSpaces. |