< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahUnload.cpp

Print this page
@@ -47,11 +47,11 @@
    ShenandoahMarkingContext* const _marking_context;
    bool                            _is_unloading;
  
  public:
    ShenandoahIsUnloadingOopClosure() :
-     _marking_context(ShenandoahHeap::heap()->complete_marking_context()),
+     _marking_context(ShenandoahHeap::heap()->marking_context()),
      _is_unloading(false) {
    }
  
    virtual void do_oop(oop* p) {
      if (_is_unloading) {
< prev index next >