< prev index next >

src/share/vm/gc/g1/vm_operations_g1.hpp

Print this page

        

*** 24,34 **** #ifndef SHARE_VM_GC_G1_VM_OPERATIONS_G1_HPP #define SHARE_VM_GC_G1_VM_OPERATIONS_G1_HPP #include "gc/g1/g1AllocationContext.hpp" - #include "gc/shared/gcId.hpp" #include "gc/shared/vmGCOperations.hpp" // VM_operations for the G1 collector. // VM_GC_Operation: // - VM_CGC_Operation --- 24,33 ----
*** 103,122 **** // consider sharing these with CMS's counterparts. class VM_CGC_Operation: public VM_Operation { VoidClosure* _cl; const char* _printGCMessage; bool _needs_pll; - uint _gc_id; 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, bool needs_pll) ! : _cl(cl), _printGCMessage(printGCMsg), _needs_pll(needs_pll), _gc_id(GCId::current()) { } virtual VMOp_Type type() const { return VMOp_CGC_Operation; } virtual void doit(); virtual bool doit_prologue(); virtual void doit_epilogue(); virtual const char* name() const { --- 102,120 ---- // consider sharing these with CMS's counterparts. class VM_CGC_Operation: public VM_Operation { VoidClosure* _cl; const char* _printGCMessage; bool _needs_pll; 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, bool needs_pll) ! : _cl(cl), _printGCMessage(printGCMsg), _needs_pll(needs_pll) { } virtual VMOp_Type type() const { return VMOp_CGC_Operation; } virtual void doit(); virtual bool doit_prologue(); virtual void doit_epilogue(); virtual const char* name() const {
< prev index next >