< prev index next >
src/hotspot/share/runtime/objectMonitor.hpp
Print this page
rev 55936 : [mq]: 8229212.cr0
rev 55937 : 8229212: clear up CHECK_OWNER confusion in objectMonitor.cpp
Reviewed-by: dholmes
@@ -283,12 +283,13 @@
void* object() const;
void* object_addr();
void set_object(void* obj);
- bool check(TRAPS); // true if the thread owns the monitor.
- void check_slow(TRAPS);
+ // Returns true if the specified thread owns the ObjectMonitor. Otherwise
+ // returns false and throws IllegalMonitorStateException (IMSE).
+ bool check_owner(Thread* THREAD);
void clear();
void enter(TRAPS);
void exit(bool not_suspended, TRAPS);
void wait(jlong millis, bool interruptable, TRAPS);
< prev index next >