NPG: The test MemoryTestAllGC.sh needs to be updated to support metaspace

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: hs25
    • Component/s: hotspot
    • None
    • gc

      The test java/lang/management/MemoryMXBean/MemoryTestAllGC.sh does not take the Metaspace MemoryMXBean into account when counting the number of non-heap memory pools.

      An example of a failure:

      Exception in thread "main" java.lang.RuntimeException: TEST FAILED:
      Number of non-heap pools = 2 but expected <= 1 and >= 1
          at MemoryTest.checkMemoryPools(MemoryTest.java:113)
          at MemoryTest.main(MemoryTest.java:75)

            Assignee:
            Erik Helin
            Reporter:
            Erik Helin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: