JDK-8010734 : NPG: The test MemoryTest.java needs to be updated to support metaspace
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-03-25
  • Updated: 2014-01-15
  • Resolved: 2013-07-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b100Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
The test jdk/test/java/lang/management/MemoryMXBean/MemoryTest.java needs to be updated to fully support metaspace (it is only partially updated).

As of today, the test fails when finding the two metaspace memory pools, since it expects only one non-heap memory pool (code cache).

The test should anticipate 3 non heap memory pools (code cache, metaspace, class metaspace)