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

Spec: Initial and max size of heap memory usage not sum of init/max of all pools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • core-svc

      Current spec of MemoryMBean.getHeapMemoryUsage is specified that:
         This method takes a snapshot of the memory usage of
         all heap memory pools including the amount of used memory,
         committed memory, maximum memory and the initial size and
         returns a <tt>CompositeData</tt> view of a {@link MemoryUsage}
         object representing the sum of the memory usage of all heap
         memory pools.

      Initial size and max size of the heap memory usage is not necessary
      the sum of init size / max size of all heap memory pools for example
      in the adaptive sizing case.

      The spec needs to be updated such that only used memory and committed
      memory can be added up but not init or max size.

      Same spec change needs to be applied to MemoryMBean.getNonHeapMemoryUsage.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: