< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahVMOperations.hpp

Print this page
*** 45,18 ***
  class VM_ShenandoahOperation : public VM_Operation {
  protected:
    uint         _gc_id;
  public:
    VM_ShenandoahOperation() : _gc_id(GCId::current()) {};
!   virtual bool skip_thread_oop_barriers() const { return true; }
  };
  
  class VM_ShenandoahReferenceOperation : public VM_ShenandoahOperation {
  public:
    VM_ShenandoahReferenceOperation() : VM_ShenandoahOperation() {};
!   bool doit_prologue();
!   void doit_epilogue();
  };
  
  class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
--- 45,20 ---
  class VM_ShenandoahOperation : public VM_Operation {
  protected:
    uint         _gc_id;
  public:
    VM_ShenandoahOperation() : _gc_id(GCId::current()) {};
!   bool skip_thread_oop_barriers() const override { return true; }
+   bool doit_prologue() override;
+   void doit_epilogue() override;
  };
  
  class VM_ShenandoahReferenceOperation : public VM_ShenandoahOperation {
  public:
    VM_ShenandoahReferenceOperation() : VM_ShenandoahOperation() {};
!   bool doit_prologue() override;
!   void doit_epilogue() override;
  };
  
  class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
< prev index next >