Closed babsingh closed 1 week ago
Lock contention in Thread.getAndClearInterrupt is reduced by acquiring the lock only when the value of the Thread.interrupted field is true.
Thread.getAndClearInterrupt
Thread.interrupted
true
Related: https://github.com/eclipse-openj9/openj9/issues/20414
jenkins test sanity alinux64 jdk21
jenkins test extended.system zlinux jdk21
jenkins test extended.functional plinux jdk21
fyi @tajila
Lock contention in
Thread.getAndClearInterrupt
is reduced by acquiring the lock only when the value of theThread.interrupted
field istrue
.Related: https://github.com/eclipse-openj9/openj9/issues/20414