JDK 17 | JDK 18 |
---|---|
17.0.3Fixed | 18 b25Fixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
According to perf data, setting OnSpinWaitInst/OnSpinWaitInstCount to "isb"/1 improves performance workloads on Graviton 2(Arm Neoverse N1 implementation) which use Thread.onSpinWait. See https://git.openjdk.java.net/jdk/pull/5562 for details. So they should be used as defaults on Arm Neoverse N1.
|