< prev index next >

src/share/vm/gc_implementation/parNew/parNewGeneration.cpp

Print this page

        

*** 1038,1048 **** // set new iteration safe limit for the survivor spaces from()->set_concurrent_iteration_safe_limit(from()->top()); to()->set_concurrent_iteration_safe_limit(to()->top()); if (ResizePLAB) { ! plab_stats()->adjust_desired_plab_sz(n_workers); } if (PrintGC && !PrintGCDetails) { gch->print_heap_change(gch_prev_used); } --- 1038,1048 ---- // set new iteration safe limit for the survivor spaces from()->set_concurrent_iteration_safe_limit(from()->top()); to()->set_concurrent_iteration_safe_limit(to()->top()); if (ResizePLAB) { ! plab_stats()->adjust_desired_plab_sz(); } if (PrintGC && !PrintGCDetails) { gch->print_heap_change(gch_prev_used); }
*** 1076,1085 **** --- 1076,1089 ---- _gc_timer->register_gc_end(); _gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions()); } + size_t ParNewGeneration::desired_plab_sz() { + return _plab_stats.desired_plab_sz(GenCollectedHeap::heap()->workers()->active_workers()); + } + static int sum; void ParNewGeneration::waste_some_time() { for (int i = 0; i < 100; i++) { sum += i; }
< prev index next >