< prev index next >

src/hotspot/share/gc/shared/barrierSetNMethod.hpp

Print this page
*** 30,10 ***
--- 30,11 ---
  #include "utilities/formatBuffer.hpp"
  #include "utilities/globalDefinitions.hpp"
  #include "utilities/sizes.hpp"
  
  class nmethod;
+ class patchable_barrier_Relocation;
  
  class BarrierSetNMethod: public CHeapObj<mtGC> {
  private:
    int _current_phase;
  

*** 57,10 ***
--- 58,12 ---
    virtual ByteSize thread_disarmed_guard_value_offset() const;
    virtual int* disarmed_guard_value_address() const;
  
    int disarmed_guard_value() const;
  
+   virtual void patch_barrier_relocation(patchable_barrier_Relocation* reloc) {};
+ 
    static int nmethod_stub_entry_barrier(address* return_address_ptr);
    bool nmethod_osr_entry_barrier(nmethod* nm);
    bool is_armed(nmethod* nm);
    void arm(nmethod* nm) { guard_with(nm, armed); }
    void disarm(nmethod* nm);
< prev index next >