src/share/vm/gc_implementation/shared/markSweep.inline.hpp

Print this page
rev 6796 : [mq]: templateOopIterate
rev 6799 : [mq]: latestChanges

*** 25,34 **** --- 25,35 ---- #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP #define SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP #include "gc_implementation/shared/markSweep.hpp" #include "gc_interface/collectedHeap.hpp" + #include "oops/markOop.inline.hpp" #include "utilities/stack.inline.hpp" #include "utilities/macros.hpp" #if INCLUDE_ALL_GCS #include "gc_implementation/g1/g1StringDedup.hpp" #include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
*** 109,114 **** --- 110,119 ---- template <class T> inline void MarkSweep::KeepAliveClosure::do_oop_work(T* p) { mark_and_push(p); } + inline void PreservedMark::adjust_pointer() { + MarkSweep::adjust_pointer(&_obj); + } + #endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_MARKSWEEP_INLINE_HPP