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

Survivor MemoryMXBean used() size granularity is region based

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b16

      Description

      The used() of survivor space MemoryMXBean is based on region granularity. I.e. a survivor region can either be fully used or not.

      This causes failures for tests that use the used() value of that MemoryMXBean (linked below) as they do not expect such large jumps in usage after allocation of a few (more) objects in survivor space.

      This is day one behavior (and some of these tests have been excluded from testing for a long time now).

      After fixing, also re-enable the corresponding tests, verifying that they work again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sangheki Sangheon Kim
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: