< prev index next >

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

Print this page
@@ -89,23 +89,21 @@
    BarrierSet::Name kind() const { return _fake_rtti.concrete_tag(); }
  
    // Test whether this object is of the type corresponding to bsn.
    bool is_a(BarrierSet::Name bsn) const { return _fake_rtti.has_tag(bsn); }
  
+   // Loom support
+   static bool requires_barriers(oop obj);
+ 
    // End of fake RTTI support.
  
  protected:
    BarrierSet(BarrierSetAssembler* barrier_set_assembler,
               BarrierSetC1* barrier_set_c1,
               BarrierSetC2* barrier_set_c2,
               BarrierSetNMethod* barrier_set_nmethod,
-              const FakeRtti& fake_rtti) :
-     _fake_rtti(fake_rtti),
-     _barrier_set_assembler(barrier_set_assembler),
-     _barrier_set_c1(barrier_set_c1),
-     _barrier_set_c2(barrier_set_c2),
-     _barrier_set_nmethod(barrier_set_nmethod) {}
+              const FakeRtti& fake_rtti);
    ~BarrierSet() { }
  
    template <class BarrierSetAssemblerT>
    static BarrierSetAssembler* make_barrier_set_assembler() {
      return NOT_ZERO(new BarrierSetAssemblerT()) ZERO_ONLY(NULL);
< prev index next >