hotspot/src/share/vm/runtime/thread.cpp
changeset 19986 33d188c66ed9
parent 19723 79c3f91dc0fa
child 20005 6fb8070af25d
--- a/hotspot/src/share/vm/runtime/thread.cpp	Wed Sep 11 12:03:41 2013 +0200
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Wed Sep 11 16:25:02 2013 +0200
@@ -3329,6 +3329,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();
   }