8224043: Shenandoah: Remove clear_claimed_marks() from start of concurrent_traversal()
authorrkennke
Thu, 16 May 2019 19:07:31 +0200
changeset 54905 d43cc2039ccf
parent 54904 c1143a0d4e22
child 54906 b6ee58ec8814
8224043: Shenandoah: Remove clear_claimed_marks() from start of concurrent_traversal() Reviewed-by: shade
src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp	Thu May 16 15:45:46 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp	Thu May 16 19:07:31 2019 +0200
@@ -556,11 +556,6 @@
 }
 
 void ShenandoahTraversalGC::concurrent_traversal_collection() {
-  {
-    MutexLocker ml(ClassLoaderDataGraph_lock);
-    ClassLoaderDataGraph::clear_claimed_marks();
-  }
-
   ShenandoahGCPhase phase_work(ShenandoahPhaseTimings::conc_traversal);
   if (!_heap->cancelled_gc()) {
     uint nworkers = _heap->workers()->active_workers();