JDK-6315235 : SA: jmap heap dumper does not use correct class ID for object arrays
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-08-24
  • Updated: 2010-08-24
  • Resolved: 2005-09-17
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.
Other JDK 6
1.4.2_12Fixed 6 b52Fixed
Related Reports
Relates :  
Description
hprof binary format requires that HPROF_GC_OBJ_ARRAY_DUMP records should refer to class ID of array's class (instead of the class ID of the element type -  jmap heap dumper uses element class ID.). That is, if there's an array of Foo, this field points to the class "Foo[]", not to the class "Foo".  The element type is "Foo". (refer to 5096280 as well).

Comments
SUGGESTED FIX Webrevs: http://bongo.india/debugging/sa/6315235/1.6.0/webrev/ http://bongo.india/debugging/sa/6315235/1.5.0/webrev/ http://bongo.india/debugging/sa/6315235/1.4.2/webrev/ Also, refer to attachment "webrev.tar" (1.6.0), "1.5.0_webrev.tar" and "1.4.2_webrev.tar"
2005-09-02

EVALUATION Please refer to "Suggested Fix" for changes to use correct class ID for object arrays.
2005-09-02