< prev index next >

src/hotspot/share/prims/jvmtiTagMap.cpp

Print this page
rev 50534 : [mq]: rename_RootAccess

*** 88,102 **** public: // accessor methods inline oop* object_addr() { return &_object; } ! inline oop object() { return RootAccess<ON_PHANTOM_OOP_REF>::oop_load(object_addr()); } // Peek at the object without keeping it alive. The returned object must be // kept alive using a normal access if it leaks out of a thread transition from VM. inline oop object_peek() { ! return RootAccess<ON_PHANTOM_OOP_REF | AS_NO_KEEPALIVE>::oop_load(object_addr()); } inline jlong tag() const { return _tag; } inline void set_tag(jlong tag) { assert(tag != 0, "can't be zero"); --- 88,102 ---- public: // accessor methods inline oop* object_addr() { return &_object; } ! inline oop object() { return NativeAccess<ON_PHANTOM_OOP_REF>::oop_load(object_addr()); } // Peek at the object without keeping it alive. The returned object must be // kept alive using a normal access if it leaks out of a thread transition from VM. inline oop object_peek() { ! return NativeAccess<ON_PHANTOM_OOP_REF | AS_NO_KEEPALIVE>::oop_load(object_addr()); } inline jlong tag() const { return _tag; } inline void set_tag(jlong tag) { assert(tag != 0, "can't be zero");
< prev index next >