RFR: JDK-8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
david.holmes at oracle.com
Thu Aug 11 04:32:46 UTC 2016
Adding in GC folk.
I agree with the need to override the printOn method, but can't comment
on the details of what you are actually printing.
On 10/08/2016 10:20 PM, Yasumasa Suenaga wrote:
> Hi all,
> When I chose "Heap Parameters" menu in HSDB, I got following value:
> Heap Parameters:
> unknown subtype of CollectedHeap @ 0x00007f4d4c030510
> I think it should not be "unknown subtype".
> This value is shown by sun.jvm.hotspot.gc.shared.CollectedHeap#printOn().
> This method is overrided in ParallelScavengeHeap and GenCollectedHeap.
> However, G1CollectedHeap does not override.
> I think G1CollectedHeap should override this method.
> I uploaded a webrev for this issue.
> Could you review it?
> I'm jdk 9 committer, but I cannot access JPRT.
> So I need a sponsor.
More information about the hotspot-gc-dev