Enum Class LibGraalScope.DetachAction
java.lang.Object
java.lang.Enum<LibGraalScope.DetachAction>
com.oracle.truffle.runtime.hotspot.libgraal.LibGraalScope.DetachAction
- All Implemented Interfaces:
Serializable,Comparable<LibGraalScope.DetachAction>,Constable
- Enclosing class:
LibGraalScope
Denotes the detach action to perform when closing a
LibGraalScope.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDetach the thread from its libgraal isolate.Detach the thread from its libgraal isolate and the associatedJVMCIRuntime.Detach the thread from its libgraal isolate and the associatedJVMCIRuntime. -
Method Summary
Modifier and TypeMethodDescriptionstatic LibGraalScope.DetachActionReturns the enum constant of this class with the specified name.static LibGraalScope.DetachAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DETACH
Detach the thread from its libgraal isolate. -
DETACH_RUNTIME
Detach the thread from its libgraal isolate and the associatedJVMCIRuntime. -
DETACH_RUNTIME_AND_RELEASE
Detach the thread from its libgraal isolate and the associatedJVMCIRuntime. If the VM supports releasing theJavaVMassociated withJVMCIRuntimes and this is the last thread attached to itsJVMCIRuntime, then theJVMCIRuntimedestroys itsJavaVMinstance.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-