src/hotspot/share/runtime/objectMonitor.hpp
changeset 57734 18f4d3d46d54
parent 55345 492b644bb9c2
child 57777 90ead0febf56
equal deleted inserted replaced
57733:be8c11fc16bb 57734:18f4d3d46d54
   283 
   283 
   284   void*     object() const;
   284   void*     object() const;
   285   void*     object_addr();
   285   void*     object_addr();
   286   void      set_object(void* obj);
   286   void      set_object(void* obj);
   287 
   287 
   288   bool      check(TRAPS);       // true if the thread owns the monitor.
   288   // Returns true if the specified thread owns the ObjectMonitor. Otherwise
   289   void      check_slow(TRAPS);
   289   // returns false and throws IllegalMonitorStateException (IMSE).
       
   290   bool      check_owner(Thread* THREAD);
   290   void      clear();
   291   void      clear();
   291 
   292 
   292   void      enter(TRAPS);
   293   void      enter(TRAPS);
   293   void      exit(bool not_suspended, TRAPS);
   294   void      exit(bool not_suspended, TRAPS);
   294   void      wait(jlong millis, bool interruptable, TRAPS);
   295   void      wait(jlong millis, bool interruptable, TRAPS);