public static enum LibGraalScope.DetachAction extends Enum<LibGraalScope.DetachAction>
LibGraalScope.| Enum Constant and Description |
|---|
DETACH
Detach the thread from its libgraal isolate.
|
DETACH_RUNTIME
Detach the thread from its libgraal isolate and the associated
JVMCIRuntime. |
DETACH_RUNTIME_AND_RELEASE
Detach the thread from its libgraal isolate and the associated
JVMCIRuntime. |
| Modifier and Type | Method and Description |
|---|---|
static LibGraalScope.DetachAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LibGraalScope.DetachAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LibGraalScope.DetachAction DETACH
public static final LibGraalScope.DetachAction DETACH_RUNTIME
JVMCIRuntime.public static final LibGraalScope.DetachAction DETACH_RUNTIME_AND_RELEASE
JVMCIRuntime. If
the VM supports releasing the JavaVM associated with JVMCIRuntimes and
this is the last thread attached to its JVMCIRuntime, then the
JVMCIRuntime destroys its JavaVM instance.public static LibGraalScope.DetachAction[] values()
public static LibGraalScope.DetachAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null