JDK-8305848 : [jdk8] gc/metaspace/TestPerfCountersAndMemoryPools.java fails intermittently
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2023-04-11
  • Updated: 2023-11-21
  • Resolved: 2023-11-21
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-poolResolved
Related Reports
Duplicate :  
Description
We see intermittent errors in JDK 8 with this test where the expected usage number read from the MemoryPool does not match that read from perfmemory.

This test is racy since the test itself may invoke the metaspace allocator, and also because concurrent metaspace allocation can happen. It can be stabilized somewhat, however: both JDK-8148483 and JDK-8151460 improved the original test for JDK 9.