|
Duplicate :
|
|
|
Relates :
|
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)
|