< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp

Print this page

        

*** 125,135 **** G1MMUTracker *mmu_tracker = g1_policy->mmu_tracker(); return mmu_tracker->when_ms(now, prediction_ms); } void G1ConcurrentMarkThread::delay_to_keep_mmu(G1Policy* g1_policy, bool remark) { ! if (g1_policy->use_adaptive_young_list_length()) { jlong sleep_time_ms = mmu_sleep_time(g1_policy, remark); if (!_cm->has_aborted() && sleep_time_ms > 0) { os::sleep(this, sleep_time_ms, false); } } --- 125,135 ---- G1MMUTracker *mmu_tracker = g1_policy->mmu_tracker(); return mmu_tracker->when_ms(now, prediction_ms); } void G1ConcurrentMarkThread::delay_to_keep_mmu(G1Policy* g1_policy, bool remark) { ! if (g1_policy->adaptive_young_list_length()) { jlong sleep_time_ms = mmu_sleep_time(g1_policy, remark); if (!_cm->has_aborted() && sleep_time_ms > 0) { os::sleep(this, sleep_time_ms, false); } }
< prev index next >