8210713: Let CollectedHeap::ensure_parsability() take care of TLAB statistics gathering

Reviewed-by: eosterlund, sjohanss
This commit is contained in:
Per Lidén 2018-09-19 14:09:11 +02:00
parent aafb2b0474
commit a8703f9803
11 changed files with 11 additions and 30 deletions

View file

@ -972,7 +972,6 @@ void PSParallelCompact::pre_compact()
heap->trace_heap_before_gc(&_gc_tracer);
// Fill in TLABs
heap->accumulate_statistics_all_tlabs();
heap->ensure_parsability(true); // retire TLABs
if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {