JDK-4401399 : JPDA: Request for events for monitor acquisitions
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.3.0,6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2001-01-03
  • Updated: 2017-05-16
  • Resolved: 2005-06-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b39Fixed
Related Reports
Duplicate :  
Relates :  
Description

Name: tb29552			Date: 01/03/2001


java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


It would be nice if the JPDA allowed one to set breakpoints when threads
acquire or release monitor locks. Currently, one can only obtain a list of
owned monitors and the current contended monitor for each thread in the
debuggee. Specifically one would want to set breakpoints for when:

1) A specified thread (e.g., "Thread-3") acquires or
releases *any* monitor lock,

2) A specified thread (e.g., "Thread-3") acquires or
releases a *specified* monitor lock,

3) *Any* thread acquires or releases a *specified*
monitor lock.

(Review ID: 114479) 
======================================================================

Comments
SUGGESTED FIX See webrev for suggested fix: This webrev contain fix for other feature 6230699. file:///net/jano.sfbay/export/disk31/serviceability/swamyv/webrev/jdi-monitor/index.html ###@###.### 2005-05-20 17:40:18 GMT
20-05-2005

EVALUATION We plan to implement ContendedMonitorEnter and ContendedMonitorEntered events. ###@###.### 2005-2-18 02:11:22 GMT See also: 6230699 Need to be able to get the location at which a monitor was acquired ###@###.### 2005-2-18 02:19:15 GMT
18-02-2005