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

C2 fast_unlock intrinsic on AArch64 has unnecessary ownership check

XMLWordPrintable

    • b26
    • aarch64

        The AArch64 fast_unlock C2 code checks if the current thread owns the lock. This can be surprisingly expensive in workload where locking is contended. The check is however optional (helpful only for finding JNI code bugs), and indeed not emitted for x86_64. We should consider removing it on AArch64.

              eosterlund Erik Ă–sterlund
              eosterlund Erik Ă–sterlund
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: