提交 93c03aa3 编写于 作者: R rbackman

7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued

Reviewed-by: acorn, dcubed
上级 6af1c75e
......@@ -3468,13 +3468,13 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册