comparison src/share/vm/memory/genOopClosures.hpp @ 342:37f87013dfd8

6711316: Open source the Garbage-First garbage collector Summary: First mercurial integration of the code for the Garbage-First garbage collector. Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author ysr
date Thu, 05 Jun 2008 15:57:56 -0700
parents ba764ed4b6f2
children 1ee8caae33af
comparison
equal deleted inserted replaced
189:0b27f3512f9e 342:37f87013dfd8
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