hotspot/src/share/vm/memory/genRemSet.hpp
changeset 22551 9bf46d16dcc6
parent 22548 d54e4339811f
child 27898 813ad96387b3
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
    25 #ifndef SHARE_VM_MEMORY_GENREMSET_HPP
    25 #ifndef SHARE_VM_MEMORY_GENREMSET_HPP
    26 #define SHARE_VM_MEMORY_GENREMSET_HPP
    26 #define SHARE_VM_MEMORY_GENREMSET_HPP
    27 
    27 
    28 #include "oops/oop.hpp"
    28 #include "oops/oop.hpp"
    29 
    29 
    30 // A GenRemSet provides ways of iterating over pointers accross generations.
    30 // A GenRemSet provides ways of iterating over pointers across generations.
    31 // (This is especially useful for older-to-younger.)
    31 // (This is especially useful for older-to-younger.)
    32 
    32 
    33 class Generation;
    33 class Generation;
    34 class BarrierSet;
    34 class BarrierSet;
    35 class OopsInGenClosure;
    35 class OopsInGenClosure;
    56   GenRemSet(BarrierSet * bs) : _bs(bs) {}
    56   GenRemSet(BarrierSet * bs) : _bs(bs) {}
    57   GenRemSet() : _bs(NULL) {}
    57   GenRemSet() : _bs(NULL) {}
    58 
    58 
    59   // These are for dynamic downcasts.  Unfortunately that it names the
    59   // These are for dynamic downcasts.  Unfortunately that it names the
    60   // possible subtypes (but not that they are subtypes!)  Return NULL if
    60   // possible subtypes (but not that they are subtypes!)  Return NULL if
    61   // the cast is invalide.
    61   // the cast is invalid.
    62   virtual CardTableRS* as_CardTableRS() { return NULL; }
    62   virtual CardTableRS* as_CardTableRS() { return NULL; }
    63 
    63 
    64   // Return the barrier set associated with "this."
    64   // Return the barrier set associated with "this."
    65   BarrierSet* bs() { return _bs; }
    65   BarrierSet* bs() { return _bs; }
    66 
    66