JDK-6195957 : JVMTI Spec: heap iteration should support access to primitive and primitive array fields
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-11-16
  • Updated: 2017-05-16
  • Resolved: 2005-09-08
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 b51Fixed
Related Reports
Relates :  
Description
Currently the heap functions in JVMTI do not allow an agent to access the primitive or primitive array fields of an object. When doing memory analysis a primitive can't keep an object alive but it may be useful to see the char[] value of a string.
###@###.### 2004-11-16 16:10:07 GMT


In addition it would be desirable to be able to determine an array length during the iteration - this is important if a profiler doesn't instrument the array allocation site (newarray bytecode) and is tagging objects as they are encountered during the iteration.

Comments
EVALUATION The implementation has been completed and should be integrated for b51 or b52.
23-08-2005

EVALUATION This RFE will be addressed in mustang. ###@###.### 2005-03-18 14:05:47 GMT
18-03-2005