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

[jdk8] gc/metaspace/TestPerfCountersAndMemoryPools.java fails intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8-pool
    • 8
    • hotspot

      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.

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: