mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8221350: more monitor logging updates from Async Monitor Deflation project
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
6efb59fad7
commit
6e84bce1b5
3 changed files with 49 additions and 25 deletions
|
@ -199,11 +199,11 @@ class ObjectSynchronizer : AllStatic {
|
|||
static u_char* get_gvars_stwRandom_addr();
|
||||
};
|
||||
|
||||
// ObjectLocker enforced balanced locking and can never thrown an
|
||||
// ObjectLocker enforces balanced locking and can never throw an
|
||||
// IllegalMonitorStateException. However, a pending exception may
|
||||
// have to pass through, and we must also be able to deal with
|
||||
// asynchronous exceptions. The caller is responsible for checking
|
||||
// the threads pending exception if needed.
|
||||
// the thread's pending exception if needed.
|
||||
class ObjectLocker : public StackObj {
|
||||
private:
|
||||
Thread* _thread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue