- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    17, 18
- 
        b26
- 
        aarch64
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8294123 | 17.0.6-oracle | Tobias Hartmann | P4 | Resolved | Fixed | b01 | 
| JDK-8293750 | 17.0.6 | Dmitry Chuyko | P4 | Resolved | Fixed | b01 | 
                    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.
            
- backported by
- 
                    JDK-8293750 C2 fast_unlock intrinsic on AArch64 has unnecessary ownership check -           
- Resolved
 
-         
- 
                    JDK-8294123 C2 fast_unlock intrinsic on AArch64 has unnecessary ownership check -           
- Resolved
 
-         
- relates to
- 
                    JDK-8277877 C2 fast_unlock intrinsic on riscv has unnecessary ownership check -           
- Resolved
 
-         
- links to
- 
                     Commit
        openjdk/jdk17u-dev/b196bc4c Commit
        openjdk/jdk17u-dev/b196bc4c
- 
                     Commit
        openjdk/jdk/3d810ad6 Commit
        openjdk/jdk/3d810ad6
- 
                     Review
        openjdk/jdk17u-dev/660 Review
        openjdk/jdk17u-dev/660
- 
                     Review
        openjdk/jdk/6498 Review
        openjdk/jdk/6498
             (2 links to)