hotspot/src/share/vm/runtime/thread.cpp
changeset 12373 09835f62dc29
parent 12108 b2ee55606008
child 13195 be27e1b6a4b9
child 13106 cecfb99d6cff
--- a/hotspot/src/share/vm/runtime/thread.cpp	Thu Apr 05 14:16:23 2012 +0200
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Thu Apr 12 13:24:08 2012 +0200
@@ -3468,13 +3468,13 @@
     create_vm_init_libraries();
   }
 
+  // Notify JVMTI agents that VM initialization is complete - nop if no agents.
+  JvmtiExport::post_vm_initialized();
+
   if (!TRACE_START()) {
     vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION));
   }
 
-  // Notify JVMTI agents that VM initialization is complete - nop if no agents.
-  JvmtiExport::post_vm_initialized();
-
   if (CleanChunkPoolAsync) {
     Chunk::start_chunk_pool_cleaner_task();
   }