APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.vm

public Class ContinuationSupport

extends Object
Class Inheritance

Defines a static method to test if the VM has continuations support.

Field Summary

Modifier and TypeField and Description
private static final boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
ensureSupported()

Ensures that VM has continuations support.

public static boolean
isSupported()

Return true if the VM has continuations support.

private static native boolean
public static void
pinIfSupported()

Pins the current continuation if the VM has continuations support.

public static void
unpinIfSupported()

Unpins the current continuation if the VM has continuations support.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SUPPORTEDback to summary
private static final boolean SUPPORTED

Constructor Detail

ContinuationSupportback to summary
private ContinuationSupport()

Method Detail

ensureSupportedback to summary
public static void ensureSupported()

Ensures that VM has continuations support.

Exceptions
UnsupportedOperationException:
if not supported
isSupportedback to summary
public static boolean isSupported()

Return true if the VM has continuations support.

isSupported0back to summary
private static native boolean isSupported0()
pinIfSupportedback to summary
public static void pinIfSupported()

Pins the current continuation if the VM has continuations support.

unpinIfSupportedback to summary
public static void unpinIfSupported()

Unpins the current continuation if the VM has continuations support.