JDK-5024119 : Add ReferenceType.getAllInstances () method to JDI.
Type:Enhancement
Component:core-svc
Sub-Component:debugger
Affected Version:1.4.2_06,5.0
Priority:P2
Status:Resolved
Resolution:Fixed
OS:generic,windows_2000
CPU:generic,x86
Submitted:2004-03-31
Updated:2017-05-16
Resolved:2005-05-14
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.
Current Java debuggers does not support memory leaks fixing.
If you add
ReferenceType.getAllInstances () and
ObjectReference.getAllReferences ()
methods we can do much more poverful tool from our debugger!
###@###.### 2004-03-31
Comments
SUGGESTED FIX
Add this to VirtualMachine:
int[] instanceCounts(List<ReferenceType> classes);
And add this to ReferenceType:
List<ObjectReference> instances(int maxInstances);
###@###.### 2005-04-06 17:08:08 GMT
See attached webrev 5024119.tar.
###@###.### 2005-04-26 17:58:44 GMT
06-04-2005
EVALUATION
4932038 tracks a similiar requirement.
This RFE will track adding the method(s) to get instances.
Companion RFE
5089849 Add support for backtracking reference graph.
will be used to tracking adding the method(s) to get references.
###@###.### 2005-04-06 17:08:08 GMT