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.
###@###.### 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.
- relates to
-
JDK-4965057 HPROF: format=b output does not include primitive data
- Resolved