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

[lworld] -XX:LockingMode=0 ignored makes MapLoops fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • 24
    • core-libs
    • None

      The java/util/concurrent/ConcurrentHashMap/MapLoops test fails in a debug build.

      The test invocation includes `-XX:LockingMode=0 -XX:+VerifyHeavyMonitors`

      The VM error message is:

      "-XX:+VerifyHeavyMonitors requires LockingMode == 0 (LM_MONITOR)"

      The LockingMode is 1, causing the failure.

      When preview is enabled, the LockMode is overridden and the argument ignored.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: