< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page

@@ -62,11 +62,10 @@
 #include "prims/resolvedMethodTable.hpp"
 #include "runtime/arguments.hpp"
 #include "runtime/atomic.hpp"
 #include "runtime/deoptimization.hpp"
 #include "runtime/flags/flagSetting.hpp"
-#include "runtime/flags/jvmFlagConstraintList.hpp"
 #include "runtime/handles.inline.hpp"
 #include "runtime/init.hpp"
 #include "runtime/java.hpp"
 #include "runtime/javaCalls.hpp"
 #include "runtime/sharedRuntime.hpp"

@@ -668,11 +667,11 @@
   CompressedClassSpaceCounters::initialize_performance_counters();
 
   AOTLoader::universe_init();
 
   // Checks 'AfterMemoryInit' constraints.
-  if (!JVMFlagConstraintList::check_constraints(JVMFlagConstraint::AfterMemoryInit)) {
+  if (!JVMFlag::check_all_constraints(JVMFlag::AfterMemoryInit)) {
     return JNI_EINVAL;
   }
 
   // Create memory for metadata.  Must be after initializing heap for
   // DumpSharedSpaces.
< prev index next >