-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
b120
For details on the java.lang.Thread.onSpinWait() methods refer to the parent task.
This subtask adds a new method onSpinWait() to java.lang.Thread class with a legitimate implementation that is empty. A corresponding x86 hotspot intrinsic allows to actually benefit from this spin loop hint by injecting a 'pause' instruction into the c2 compiled code.
This subtask adds a new method onSpinWait() to java.lang.Thread class with a legitimate implementation that is empty. A corresponding x86 hotspot intrinsic allows to actually benefit from this spin loop hint by injecting a 'pause' instruction into the c2 compiled code.
- relates to
-
JDK-8159532 Investigate SPARC intrinsic for Thread.onSpinWait
-
- Closed
-