< prev index next >

src/share/vm/gc_implementation/shared/vmGCOperations.hpp

Print this page
rev 7800 : [mq]: cleanupOopInlineHpp

*** 23,32 **** --- 23,33 ---- */ #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_VMGCOPERATIONS_HPP #define SHARE_VM_GC_IMPLEMENTATION_SHARED_VMGCOPERATIONS_HPP + #include "gc_interface/collectedHeap.hpp" #include "memory/heapInspection.hpp" #include "runtime/handles.hpp" #include "runtime/jniHandles.hpp" #include "runtime/synchronizer.hpp" #include "runtime/vm_operations.hpp"
*** 102,115 **** // when this collection is started. Don't assert that // _all_soft_refs_clear have to be false here even though // mutators have run. Soft refs will be cleared again in this // collection. } ! ~VM_GC_Operation() { ! CollectedHeap* ch = Universe::heap(); ! ch->collector_policy()->set_all_soft_refs_clear(false); ! } // Acquire the reference synchronization lock virtual bool doit_prologue(); // Do notifyAll (if needed) and release held lock virtual void doit_epilogue(); --- 103,113 ---- // when this collection is started. Don't assert that // _all_soft_refs_clear have to be false here even though // mutators have run. Soft refs will be cleared again in this // collection. } ! ~VM_GC_Operation(); // Acquire the reference synchronization lock virtual bool doit_prologue(); // Do notifyAll (if needed) and release held lock virtual void doit_epilogue();
< prev index next >