< prev index next >
src/share/vm/gc/shenandoah/shenandoahConcurrentThread.cpp
Print this page
rev 12168 : [mq]: syncbug.patch
*** 107,116 ****
--- 107,117 ----
TraceCollectorStats tcs(heap->monitoring_support()->concurrent_collection_counters());
heap->do_evacuation();
}
if (heap->is_evacuation_in_progress()) {
+ MutexLocker mu(Threads_lock);
heap->set_evacuation_in_progress(false);
}
heap->shenandoahPolicy()->record_phase_start(ShenandoahCollectorPolicy::reset_bitmaps);
heap->reset_mark_bitmap();
heap->shenandoahPolicy()->record_phase_end(ShenandoahCollectorPolicy::reset_bitmaps);
< prev index next >