Test TestBiasedLockRevocationEvents.java assumes -XX:UseBiasedLocking is enabled

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: 14
    • Component/s: hotspot
    • jfr
    • b24

      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.

            Assignee:
            Per Liden (Inactive)
            Reporter:
            Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: