< prev index next >
src/share/vm/memory/universe.cpp
Print this page
*** 654,663 ****
--- 654,668 ----
return status;
}
Metaspace::global_initialize();
+ // Checks 'AfterMemoryInit' constraints.
+ if (!CommandLineFlags::check_constraints_of_after_memory_init()) {
+ return JNI_EINVAL;
+ }
+
// Create memory for metadata. Must be after initializing heap for
// DumpSharedSpaces.
ClassLoaderData::init_null_class_loader_data();
// We have a heap so create the Method* caches before
< prev index next >