comparison src/share/vm/memory/genOopClosures.hpp @ 845:df6caf649ff7

6700789: G1: Enable use of compressed oops with G1 heaps Summary: Modifications to G1 so as to allow the use of compressed oops. Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author ysr
date Tue, 14 Jul 2009 15:40:39 -0700
parents 1ee8caae33af
children 2a1472c30599
comparison
equal deleted inserted replaced
839:bb18957ad21e 845:df6caf649ff7
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