< prev index next >

src/hotspot/share/oops/oop.inline.hpp

Print this page

        

*** 59,69 **** void oopDesc::set_mark(markWord m) { HeapAccess<MO_VOLATILE>::store_at(as_oop(), mark_offset_in_bytes(), m.value()); } void oopDesc::set_mark_raw(markWord m) { ! Atomic::store(m, &_mark); } void oopDesc::set_mark_raw(HeapWord* mem, markWord m) { *(markWord*)(((char*)mem) + mark_offset_in_bytes()) = m; } --- 59,69 ---- void oopDesc::set_mark(markWord m) { HeapAccess<MO_VOLATILE>::store_at(as_oop(), mark_offset_in_bytes(), m.value()); } void oopDesc::set_mark_raw(markWord m) { ! Atomic::store(&_mark, m); } void oopDesc::set_mark_raw(HeapWord* mem, markWord m) { *(markWord*)(((char*)mem) + mark_offset_in_bytes()) = m; }
< prev index next >