< prev index next >
src/hotspot/share/gc/z/zMark.inline.hpp
Print this page
*** 29,44 ****
#include "gc/z/zMarkStack.inline.hpp"
#include "gc/z/zThreadLocalData.hpp"
#include "runtime/thread.hpp"
#include "utilities/debug.hpp"
! template <bool finalizable, bool publish>
inline void ZMark::mark_object(uintptr_t addr) {
assert(ZAddress::is_marked(addr), "Should be marked");
ZMarkThreadLocalStacks* const stacks = ZThreadLocalData::stacks(Thread::current());
ZMarkStripe* const stripe = _stripes.stripe_for_addr(addr);
! ZMarkStackEntry entry(addr, finalizable);
stacks->push(&_allocator, &_stripes, stripe, entry, publish);
}
#endif // SHARE_GC_Z_ZMARK_INLINE_HPP
--- 29,44 ----
#include "gc/z/zMarkStack.inline.hpp"
#include "gc/z/zThreadLocalData.hpp"
#include "runtime/thread.hpp"
#include "utilities/debug.hpp"
! template <bool follow, bool finalizable, bool publish>
inline void ZMark::mark_object(uintptr_t addr) {
assert(ZAddress::is_marked(addr), "Should be marked");
ZMarkThreadLocalStacks* const stacks = ZThreadLocalData::stacks(Thread::current());
ZMarkStripe* const stripe = _stripes.stripe_for_addr(addr);
! ZMarkStackEntry entry(addr, follow, finalizable);
stacks->push(&_allocator, &_stripes, stripe, entry, publish);
}
#endif // SHARE_GC_Z_ZMARK_INLINE_HPP
< prev index next >