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

SA: jmap wrong output for MaxNewSize

XMLWordPrintable

    • generic
    • generic

      After fix to 6788173, jmap still does not print value of MaxNewSize correctly.

      Heap Configuration:
         MinHeapFreeRatio = 40
         MaxHeapFreeRatio = 70
         MaxHeapSize = 1029701632 (982.0MB)
         NewSize = 2686976 (2.5625MB)
         MaxNewSize = 17592186044415 MB
         OldSize = 5439488 (5.1875MB)
      ...

      There are two problems now:
      1. Format is wrong. Before the fix (and all other memory parameters, previously and now) are shown as
         "bytes (mbytes MB)"
      or "bytes (gbytes GB)"

      2. The value is unreasonably big. It's bigger than MaxHeapSize.

            Unassigned Unassigned
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: