Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8163581

Heap Parameters in HSDB cannot handle G1CollectedHeap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b137

      When I chose "Heap Parameters" menu in HSDB, I got following value:
      --------------------
      Heap Parameters:
      unknown subtype of CollectedHeap @ 0x00007f4d4c030510 (0x00000006c6e00000,0x00000007c0000000)
      --------------------

      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.

            ysuenaga Yasumasa Suenaga
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: