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 |
58 |
59 // Version for use by closures that may be called in parallel code. |
59 // Version for use by closures that may be called in parallel code. |
60 void par_do_barrier(oop* p); |
60 template <class T> void par_do_barrier(T* p); |
61 |
61 |
62 public: |
62 public: |
63 OopsInGenClosure() : OopClosure(NULL), |
63 OopsInGenClosure() : OopClosure(NULL), |
64 _orig_gen(NULL), _gen(NULL), _gen_boundary(NULL), _rs(NULL) {}; |
64 _orig_gen(NULL), _gen(NULL), _gen_boundary(NULL), _rs(NULL) {}; |
65 |
65 |