hotspot/src/share/vm/runtime/thread.cpp
changeset 20005 6fb8070af25d
parent 19959 29844efa0a6b
parent 19986 33d188c66ed9
child 20006 9dc2add3103b
--- a/hotspot/src/share/vm/runtime/thread.cpp	Wed Sep 18 12:52:15 2013 -0400
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Thu Sep 19 09:26:08 2013 +0200
@@ -3331,6 +3331,11 @@
   jint parse_result = Arguments::parse(args);
   if (parse_result != JNI_OK) return parse_result;
 
+  os::init_before_ergo();
+
+  jint ergo_result = Arguments::apply_ergo();
+  if (ergo_result != JNI_OK) return ergo_result;
+
   if (PauseAtStartup) {
     os::pause();
   }