Thu, 12 Apr 2012 13:24:08 +0200
7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued
Reviewed-by: acorn, dcubed
src/share/vm/runtime/thread.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/runtime/thread.cpp Thu Apr 05 14:16:23 2012 +0200 1.2 +++ b/src/share/vm/runtime/thread.cpp Thu Apr 12 13:24:08 2012 +0200 1.3 @@ -3468,13 +3468,13 @@ 1.4 create_vm_init_libraries(); 1.5 } 1.6 1.7 + // Notify JVMTI agents that VM initialization is complete - nop if no agents. 1.8 + JvmtiExport::post_vm_initialized(); 1.9 + 1.10 if (!TRACE_START()) { 1.11 vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); 1.12 } 1.13 1.14 - // Notify JVMTI agents that VM initialization is complete - nop if no agents. 1.15 - JvmtiExport::post_vm_initialized(); 1.16 - 1.17 if (CleanChunkPoolAsync) { 1.18 Chunk::start_chunk_pool_cleaner_task(); 1.19 }