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

gc/metaspace/TestPerfCountersAndMemoryPools.java fails with Used out of sync: expected 1028976 to equal 1029224

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-loom
    • Fix Version/s: repo-loom
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      Test gc/metaspace/TestPerfCountersAndMemoryPools.java fails with Used out of sync: expected 1028976 to equal 1029224

      Seems, it tries to load class
      'java.util.concurrent.locks.AbstractQueuedSynchronizer$ExclusiveNode'
      between checks of PerfCounters.findByName(...) and pool.getUsage().getUsed().

      So the counts are different.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: