Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"Monitor Enter" and "Monitor Exit" events using JVMTI?

843811Jul 30 2004 — edited Sep 22 2004
Is there any way I can record when a thread acquires or releases an object monitor using JVMTI?

There is a "Monitor Contended Entered" event in JVMTI but it's only sent after a contention - I want to be notified whenever a monitor is entered.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2004
Added on Jul 30 2004
1 comment
424 views