< prev index next >

src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp

Print this page
@@ -1503,11 +1503,11 @@
      enum { _fast_path = 1, _slow_path, _null_path, PATH_LIMIT2 };
      Node* region2 = new RegionNode(PATH_LIMIT2);
      Node* phi2 = PhiNode::make(region2, raw_mem, Type::MEMORY, TypeRawPtr::BOTTOM);
  
      // Stable path.
-     test_gc_state(ctrl, raw_mem, heap_stable_ctrl, phase, ShenandoahHeap::MARKING);
+     test_gc_state(ctrl, raw_mem, heap_stable_ctrl, phase, (ShenandoahHeap::YOUNG_MARKING | ShenandoahHeap::OLD_MARKING));
      region->init_req(_heap_stable, heap_stable_ctrl);
      phi->init_req(_heap_stable, raw_mem);
  
      // Null path
      Node* reg2_ctrl = NULL;
< prev index next >