< prev index next >

src/hotspot/share/runtime/basicLock.hpp

Print this page
*** 68,10 ***
--- 68,11 ---
    oop       _obj;                                     // object holds the lock;
  
   public:
    // Manipulation
    oop      obj() const                                { return _obj;  }
+   oop*     obj_adr()                                  { return &_obj; }
    void set_obj(oop obj)                               { _obj = obj; }
    BasicLock* lock()                                   { return &_lock; }
  
    // Note: Use frame::interpreter_frame_monitor_size() for the size of BasicObjectLocks
    //       in interpreter activation frames since it includes machine-specific padding.
< prev index next >