Withdrawn: 7903579: JOL: Heap dump parser handles superclasses incorrectly

Aleksey Shipilev shade at openjdk.org
Mon Nov 13 17:38:32 UTC 2023


On Mon, 13 Nov 2023 11:27:14 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Current heap dump parser relies on class records to appear after the superclass records appear. This does not actually hold for hprof: we can emit the subclass records first, and only then emit the superclass records.
> 
> Therefore, current heap dump reader is broken when it encounters hierarchical classes. If the superclass was not seen before current class is being parsed, the heap dump reader would silently treat the current class as having _no super klasses_ at all. It would then underestimate the class footprint, because it does not record superclasses.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jol/pull/53


More information about the jol-dev mailing list