| Modifier and Type | Class and Description |
|---|---|
| public static class | Isolates.
Parameters for the creation of an isolate. |
| public static class | Isolates.
An exception thrown in the context of managing isolates. |
| public static interface | Isolates.
Identifies a protection domain for an isolate. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IsolateThread | Returns: A pointer to the structure representing the newly attached isolate thread.The isolate to which to attach the current thread. isolate)Attaches the current thread to the passed isolate. |
| public static IsolateThread | Returns: A pointer to the structure that represents the current thread in the new isolate.Parameters for the creation of the isolate. parametersCreates a new isolate with the passed parameters. |
| public static void | detachThread(IsolateThread
The isolate thread to detach from its isolate. thread)Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it. |
| public static IsolateThread | Returns: A pointer to the current thread's structure in the specified isolate ornull
if the thread is not attached to that isolate.The isolate for which to retrieve the current thread's corresponding structure isolate)Given an isolate to which the current thread is attached, returns the address of the thread's associated isolate thread structure. |
| public static Isolate | Returns: A pointer to the isolate, ornull.The isolate thread for which to retrieve the isolate. thread)Given an isolate thread structure, determines to which isolate it belongs and returns the address of the isolate structure. |
| public static void | tearDownIsolate(IsolateThread
IsolateThread of the current thread that is attached to the isolate
which is to be torn down.Tears down an isolate. |
| Isolates | back to summary |
|---|---|
| private Isolates() | |
| attachCurrentThread | back to summary |
|---|---|
| public static IsolateThread attachCurrentThread(Isolate isolate) throws IsolateException Attaches the current thread to the passed isolate. If the thread has already been attached, the call provides the thread's existing isolate thread structure.
| |
| createIsolate | back to summary |
|---|---|
| public static IsolateThread createIsolate(Isolates. Creates a new isolate with the passed parameters. On
success, the current thread is attached to the created isolate, and a pointer to its
associated
| |
| detachThread | back to summary |
|---|---|
| public static void detachThread(IsolateThread thread) throws IsolateException Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it. At the time of the call, no code may still be executing in the isolate thread's context. The passed pointer is no longer valid after the method returns.
| |
| getCurrentThread | back to summary |
|---|---|
| public static IsolateThread getCurrentThread(Isolate isolate) throws IsolateException Given an isolate to which the current thread is attached, returns the address of the thread's
associated isolate thread structure. If the current thread is not attached to the passed
isolate, returns
| |
| getIsolate | back to summary |
|---|---|
| public static Isolate getIsolate(IsolateThread thread) throws IsolateException Given an isolate thread structure, determines to which isolate it belongs and returns the
address of the isolate structure. May return
| |
| tearDownIsolate | back to summary |
|---|---|
| public static void tearDownIsolate(IsolateThread thread) throws IsolateException Tears down an isolate. Given an
| |
CreateIsolateParameters.Builder
| Modifier and Type | Class and Description |
|---|---|
| public static class | Isolates.
Builder for a |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final String | |
| private final UnsignedWord | |
| private static final Isolates. | |
| private final Isolates. | |
| private final UnsignedWord |
| Access | Constructor and Description |
|---|---|
| private | CreateIsolateParameters(UnsignedWord reservedAddressSpaceSize, String auxiliaryImagePath, UnsignedWord auxiliaryImageReservedSpaceSize, List<String> arguments, Isolates.
|
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public String | getAuxiliaryImagePath()
Returns the file path to an auxiliary image which should be loaded in addition to the
main image, or |
| public UnsignedWord | getAuxiliaryImageReservedSpaceSize()
Returns the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved. |
| public static Isolates. | |
| public Isolates. | |
| public UnsignedWord | getReservedAddressSpaceSize()
Returns the size in bytes for the reserved virtual address space of the new isolate. |
| arguments | back to summary |
|---|---|
| private final List<String> arguments | |
| auxiliaryImagePath | back to summary |
|---|---|
| private final String auxiliaryImagePath | |
| auxiliaryImageReservedSpaceSize | back to summary |
|---|---|
| private final UnsignedWord auxiliaryImageReservedSpaceSize | |
| DEFAULT | back to summary |
|---|---|
| private static final Isolates. | |
| protectionDomain | back to summary |
|---|---|
| private final Isolates. | |
| reservedAddressSpaceSize | back to summary |
|---|---|
| private final UnsignedWord reservedAddressSpaceSize | |
| CreateIsolateParameters | back to summary |
|---|---|
| private CreateIsolateParameters(UnsignedWord reservedAddressSpaceSize, String auxiliaryImagePath, UnsignedWord auxiliaryImageReservedSpaceSize, List<String> arguments, Isolates. | |
| getArguments | back to summary |
|---|---|
| public List Returns the list of additional isolate arguments.
| |
| getAuxiliaryImagePath | back to summary |
|---|---|
| public String getAuxiliaryImagePath() Returns the file path to an auxiliary image which should be loaded in addition to the
main image, or
| |
| getAuxiliaryImageReservedSpaceSize | back to summary |
|---|---|
| public UnsignedWord getAuxiliaryImageReservedSpaceSize() Returns the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.
| |
| getDefault | back to summary |
|---|---|
| public static Isolates. Returns a
| |
| getProtectionDomain | back to summary |
|---|---|
| public Isolates. Returns the memory protection domain to be used for an isolate.
| |
| getReservedAddressSpaceSize | back to summary |
|---|---|
| public UnsignedWord getReservedAddressSpaceSize() Returns the size in bytes for the reserved virtual address space of the new isolate.
| |
CreateIsolateParameters instance.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private String | |
| private UnsignedWord | |
| private Isolates. | |
| private UnsignedWord |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Isolates. | |
| public Isolates. | auxiliaryImagePath(String filePath)
Sets the file path to an auxiliary image which should be loaded in addition to the
main image, or |
| public Isolates. | auxiliaryImageReservedSpaceSize(UnsignedWord size)
Sets the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved. |
| public Isolates. | build()
Produces the final |
| public Isolates. | reservedAddressSpaceSize(UnsignedWord size)
Sets the size in bytes for the reserved virtual address space of the new isolate. |
| public Isolates. |
| arguments | back to summary |
|---|---|
| private final List<String> arguments | |
| auxiliaryImagePath | back to summary |
|---|---|
| private String auxiliaryImagePath | |
| auxiliaryImageReservedSpaceSize | back to summary |
|---|---|
| private UnsignedWord auxiliaryImageReservedSpaceSize | |
| protectionDomain | back to summary |
|---|---|
| private Isolates. | |
| reservedAddressSpaceSize | back to summary |
|---|---|
| private UnsignedWord reservedAddressSpaceSize | |
| Builder | back to summary |
|---|---|
| public Builder() Creates a new builder with default values.
| |
| appendArgument | back to summary |
|---|---|
| public Isolates. Appends an isolate argument. The syntax for arguments is the same as the one that is
used on the command-line when starting Native Image (e.g.,
| |
| auxiliaryImagePath | back to summary |
|---|---|
| public Isolates. Sets the file path to an auxiliary image which should be loaded in addition to the
main image, or
| |
| auxiliaryImageReservedSpaceSize | back to summary |
|---|---|
| public Isolates. Sets the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.
| |
| build | back to summary |
|---|---|
| public Isolates. Produces the final
| |
| reservedAddressSpaceSize | back to summary |
|---|---|
| public Isolates. Sets the size in bytes for the reserved virtual address space of the new isolate.
| |
| setProtectionDomain | back to summary |
|---|---|
| public Isolates. Sets the
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IsolateException | back to summary |
|---|---|
| public IsolateException(String message) Constructs a new exception with the specified detail message.
| |
MemoryProtectionKeyProvider in connection with underlying MMU hardware such as Memory
Protection Keys.
| Modifier and Type | Field and Description |
|---|---|
| public static final Isolates. | NEW_DOMAIN
Creates a new protection domain if passed to the |
| public static final Isolates. | NO_DOMAIN
Do not use a protection domain. |
| NEW_DOMAIN | back to summary |
|---|---|
| public static final Isolates. Creates a new protection domain if passed to the
| |
| NO_DOMAIN | back to summary |
|---|---|
| public static final Isolates. Do not use a protection domain.
| |