Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 6002:df4cd4aac5c1
7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued
Reviewed-by: acorn, dcubed
author | rbackman |
---|---|
date | Thu, 12 Apr 2012 13:24:08 +0200 |
parents | 541c4a5e7b88 |
children | f8de958e5b2c d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
5997:10c12fb36ed2 | 6002:df4cd4aac5c1 |
---|---|
3466 // back-end can launch with -Xdebug -Xrunjdwp. | 3466 // back-end can launch with -Xdebug -Xrunjdwp. |
3467 if (!EagerXrunInit && Arguments::init_libraries_at_startup()) { | 3467 if (!EagerXrunInit && Arguments::init_libraries_at_startup()) { |
3468 create_vm_init_libraries(); | 3468 create_vm_init_libraries(); |
3469 } | 3469 } |
3470 | 3470 |
3471 // Notify JVMTI agents that VM initialization is complete - nop if no agents. | |
3472 JvmtiExport::post_vm_initialized(); | |
3473 | |
3471 if (!TRACE_START()) { | 3474 if (!TRACE_START()) { |
3472 vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); | 3475 vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION)); |
3473 } | 3476 } |
3474 | |
3475 // Notify JVMTI agents that VM initialization is complete - nop if no agents. | |
3476 JvmtiExport::post_vm_initialized(); | |
3477 | 3477 |
3478 if (CleanChunkPoolAsync) { | 3478 if (CleanChunkPoolAsync) { |
3479 Chunk::start_chunk_pool_cleaner_task(); | 3479 Chunk::start_chunk_pool_cleaner_task(); |
3480 } | 3480 } |
3481 | 3481 |