src/hotspot/share/gc/shared/barrierSet.hpp
branchepsilon-gc-branch
changeset 55938 d7b4990d04d6
parent 55934 912c55e702d6
child 56095 97689d6b0494
equal deleted inserted replaced
55935:f4e069848424 55938:d7b4990d04d6
    73 
    73 
    74   // Metafunction mapping a Name enum type to the corresponding
    74   // Metafunction mapping a Name enum type to the corresponding
    75   // lass derived from BarrierSet.
    75   // lass derived from BarrierSet.
    76   template<BarrierSet::Name T> struct GetType;
    76   template<BarrierSet::Name T> struct GetType;
    77 
    77 
    78 public:
       
    79   // Note: This is not presently the Name corresponding to the
    78   // Note: This is not presently the Name corresponding to the
    80   // concrete class of this object.
    79   // concrete class of this object.
    81   BarrierSet::Name kind() const { return _fake_rtti.concrete_tag(); }
    80   BarrierSet::Name kind() const { return _fake_rtti.concrete_tag(); }
    82 
    81 
    83   // Test whether this object is of the type corresponding to bsn.
    82   // Test whether this object is of the type corresponding to bsn.