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

Test TestBiasedLockRevocationEvents.java assumes -XX:UseBiasedLocking is enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      jfr
    • Resolved In Build:
      b24

      Description

      The test TestBiasedLockRevocationEvents.java assumes -XX:UseBiasedLocking is enabled. While this is generally true, it's not true when e.g. enabling ZGC. There's also work ongoing to look into disabling it by default (JDK-8231264). The test should supply -XX:+UseBiasedLocking on the run line to avoid making assumptions about if it's enabled by default or not.

        Attachments

          Activity

            People

            Assignee:
            pliden Per Liden
            Reporter:
            pliden Per Liden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: