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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • hs25
    • 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)

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

              Created:
              Updated:
              Resolved: