hotspot/src/share/vm/memory/genOopClosures.hpp
changeset 1374 4c24294029a9
parent 360 21d113ecbf6a
child 1388 3677f5f3d66b
equal deleted inserted replaced
615:570062d730b2 1374:4c24294029a9
    53   CardTableRS* rs() { return _rs; }
    53   CardTableRS* rs() { return _rs; }
    54 
    54 
    55   // Derived classes that modify oops so that they might be old-to-young
    55   // Derived classes that modify oops so that they might be old-to-young
    56   // pointers must call the method below.
    56   // pointers must call the method below.
    57   template <class T> void do_barrier(T* p);
    57   template <class T> void do_barrier(T* p);
       
    58 
       
    59   // Version for use by closures that may be called in parallel code.
       
    60   void par_do_barrier(oop* p);
    58 
    61 
    59  public:
    62  public:
    60   OopsInGenClosure() : OopClosure(NULL),
    63   OopsInGenClosure() : OopClosure(NULL),
    61     _orig_gen(NULL), _gen(NULL), _gen_boundary(NULL), _rs(NULL) {};
    64     _orig_gen(NULL), _gen(NULL), _gen_boundary(NULL), _rs(NULL) {};
    62 
    65