diff -r 570062d730b2 -r 4c24294029a9 hotspot/src/share/vm/memory/genOopClosures.hpp --- a/hotspot/src/share/vm/memory/genOopClosures.hpp Wed Jun 04 13:51:09 2008 -0700 +++ b/hotspot/src/share/vm/memory/genOopClosures.hpp Thu Jun 05 15:57:56 2008 -0700 @@ -56,6 +56,9 @@ // pointers must call the method below. template void do_barrier(T* p); + // Version for use by closures that may be called in parallel code. + void par_do_barrier(oop* p); + public: OopsInGenClosure() : OopClosure(NULL), _orig_gen(NULL), _gen(NULL), _gen_boundary(NULL), _rs(NULL) {};