--- old/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp 2011-10-17 14:23:38.511326176 -0700 +++ new/src/share/vm/gc_implementation/g1/vm_operations_g1.hpp 2011-10-17 14:23:38.306085444 -0700 @@ -93,11 +93,17 @@ } }; -// Concurrent GC stop-the-world operations such as initial and final mark; +// Concurrent GC stop-the-world operations such as final mark and cleanup; // consider sharing these with CMS's counterparts. class VM_CGC_Operation: public VM_Operation { VoidClosure* _cl; const char* _printGCMessage; + +protected: + // java.lang.ref.Reference support + void acquire_pending_list_lock(); + void release_and_notify_pending_list_lock(); + public: VM_CGC_Operation(VoidClosure* cl, const char *printGCMsg) : _cl(cl), _printGCMessage(printGCMsg) { }