public final class ThreadHints
extends java.lang.Object
Thread class in some Java SE versions, but missing in prior
versions.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.invoke.MethodHandle |
ON_SPIN_WAIT_METHOD_HANDLE |
| Modifier | Constructor and Description |
|---|---|
private |
ThreadHints() |
| Modifier and Type | Method and Description |
|---|---|
static void |
onSpinWait()
Indicates that the caller is momentarily unable to progress, until the
occurrence of one or more actions on the part of other activities.
|
private static final java.lang.invoke.MethodHandle ON_SPIN_WAIT_METHOD_HANDLE
public static void onSpinWait()