diff src/share/vm/runtime/arguments.cpp @ 12838:85c1ca43713f

8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces Reviewed-by: brutisso, jmasa, coleenp
author stefank
date Mon, 07 Oct 2013 15:51:08 +0200
parents 087f02e22fc2
children aa6f2ea19d8f
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Oct 09 10:57:01 2013 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Mon Oct 07 15:51:08 2013 +0200
@@ -3656,6 +3656,9 @@
   assert(verify_serial_gc_flags(), "SerialGC unset");
 #endif // INCLUDE_ALL_GCS
 
+  // Initialize Metaspace flags and alignments.
+  Metaspace::ergo_initialize();
+
   // Set bytecode rewriting flags
   set_bytecode_flags();