mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued
Reviewed-by: acorn, dcubed
This commit is contained in:
parent
83806487dc
commit
2ea955a642
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue