Integrated: 8277411: C2 fast_unlock intrinsic on AArch64 has unnecessary ownership check
Erik Österlund
eosterlund at openjdk.java.net
Fri Nov 26 14:58:10 UTC 2021
On Mon, 22 Nov 2021 11:04:37 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:
> 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. This patch removes the check on AArch64 as well.
This pull request has now been integrated.
Changeset: 3d810ad6
Author: Erik Österlund <eosterlund at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/3d810ad6912b7bca03e212b604cf60412da11c18
Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod
8277411: C2 fast_unlock intrinsic on AArch64 has unnecessary ownership check
Reviewed-by: ngasson, neliasso
-------------
PR: https://git.openjdk.java.net/jdk/pull/6498
More information about the hotspot-compiler-dev
mailing list