< prev index next >
src/hotspot/share/runtime/objectMonitor.inline.hpp
Print this page
*** 34,44 ****
inline markOop ObjectMonitor::header() const {
return _header;
}
! inline markOopDesc* volatile* ObjectMonitor::header_addr() {
assert((intptr_t)this == (intptr_t)&_header, "sync code expects this");
return &_header;
}
inline void ObjectMonitor::set_header(markOop hdr) {
--- 34,44 ----
inline markOop ObjectMonitor::header() const {
return _header;
}
! inline volatile markOop* ObjectMonitor::header_addr() {
assert((intptr_t)this == (intptr_t)&_header, "sync code expects this");
return &_header;
}
inline void ObjectMonitor::set_header(markOop hdr) {
< prev index next >