@@ -34,11 +34,11 @@ inline markOop ObjectMonitor::header() const { return _header; } -inline markOopDesc* volatile* ObjectMonitor::header_addr() { +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) {