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

TestMetaspaceAllocationMTxx: tighten commit sizes checks

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      TestMetaspaceAllocationMTxx test metaspace by trampling on one or multiple arenas repeatedly, trying to make it break, and afterwards checking that committed memory is within expectations. The tests need to guess a correct memory size (a value range within memory usage is considered okay) but the actual usage is a bit fuzzy since metaspace has internal overheads.

      JDK-8277092 was a recent test error caused by changes to metaspace uncommit behavior (JDK-8276731). That was a harmless test issue, but it only showed up very intermittently when ideally it would have shown up more consistently. That shows that the heuristics in these tests are too lenient and need to get tightened.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: