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

Survivor MemoryMXBean used() size granularity is region based

XMLWordPrintable

    • gc
    • b16

        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.

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

                Created:
                Updated:
                Resolved: