comparison src/share/vm/runtime/thread.cpp @ 4570:ae4adc1492d1

Added tag jdk7u40-b30 for changeset 24f785f94d2f
author katleman
date Fri, 21 Jun 2013 11:18:38 -0700
parents 12494ffb721b
children 370cbb35dbca fc4660f7922c
comparison
equal deleted inserted replaced
114:551b2b0e1426 115:aaa27849937f
3381 3381
3382 // Any JVMTI raw monitors entered in onload will transition into 3382 // Any JVMTI raw monitors entered in onload will transition into
3383 // real raw monitor. VM is setup enough here for raw monitor enter. 3383 // real raw monitor. VM is setup enough here for raw monitor enter.
3384 JvmtiExport::transition_pending_onload_raw_monitors(); 3384 JvmtiExport::transition_pending_onload_raw_monitors();
3385 3385
3386 if (VerifyBeforeGC &&
3387 Universe::heap()->total_collections() >= VerifyGCStartAt) {
3388 Universe::heap()->prepare_for_verify();
3389 Universe::verify(); // make sure we're starting with a clean slate
3390 }
3391
3392 // Fully start NMT 3386 // Fully start NMT
3393 MemTracker::start(); 3387 MemTracker::start();
3394 3388
3395 // Create the VMThread 3389 // Create the VMThread
3396 { TraceTime timer("Start VMThread", TraceStartupTime); 3390 { TraceTime timer("Start VMThread", TraceStartupTime);
3410 } 3404 }
3411 } 3405 }
3412 } 3406 }
3413 3407
3414 assert (Universe::is_fully_initialized(), "not initialized"); 3408 assert (Universe::is_fully_initialized(), "not initialized");
3409 if (VerifyBeforeGC && VerifyGCStartAt == 0) {
3410 Universe::heap()->prepare_for_verify();
3411 Universe::verify(); // make sure we're starting with a clean slate
3412 }
3413
3415 EXCEPTION_MARK; 3414 EXCEPTION_MARK;
3416 3415
3417 // At this point, the Universe is initialized, but we have not executed 3416 // At this point, the Universe is initialized, but we have not executed
3418 // any byte code. Now is a good time (the only time) to dump out the 3417 // any byte code. Now is a good time (the only time) to dump out the
3419 // internal state of the JVM for sharing. 3418 // internal state of the JVM for sharing.