NativeObjects have a NativeIsolate
context.
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadLocal | |
| pack-priv final Set | |
| pack-priv static final int | |
| private final JNIConfig | |
| private final long | |
| private static final Map | |
| private static final long | |
| private volatile NativeIsolate. | |
| private final Collection | |
| private final long | |
| private static final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private synchronized void | |
| private boolean | |
| public NativeIsolateThread | |
| public static NativeIsolate | forIsolateId(long isolateId, JNIConfig config)
Creates a |
| public static NativeIsolate | Returns: NativeIsolate object for the entered isolate with the specified isolate addressid of an entered isolate isolateId)Gets the NativeIsolate object for the entered isolate with the specified isolate address. |
| public JNIConfig | |
| public long | |
| private NativeIsolateThread | |
| public boolean | |
| public boolean | |
| pack-priv void | |
| public void | registerNativeThread(long
the isolate thread to bind. isolateThreadId)Binds a native image thread to this isolate. |
| public boolean | |
| pack-priv RuntimeException | |
| public String | |
| public NativeIsolateThread |
| attachedIsolateThread | back to summary |
|---|---|
| private final ThreadLocal<NativeIsolateThread> attachedIsolateThread | |
| cleaners | back to summary |
|---|---|
| pack-priv final Set<NativeObjectCleaner<?>> cleaners | |
| CLOSED | back to summary |
|---|---|
| pack-priv static final int CLOSED | |
| config | back to summary |
|---|---|
| private final JNIConfig config | |
| isolateId | back to summary |
|---|---|
| private final long isolateId | |
| isolates | back to summary |
|---|---|
| private static final Map<Long, NativeIsolate> isolates | |
| NULL | back to summary |
|---|---|
| private static final long NULL | |
| state | back to summary |
|---|---|
| private volatile NativeIsolate. | |
| threads | back to summary |
|---|---|
| private final Collection<NativeIsolateThread> threads | |
| uuid | back to summary |
|---|---|
| private final long uuid | |
| UUIDS | back to summary |
|---|---|
| private static final AtomicInteger UUIDS | |
| NativeIsolate | back to summary |
|---|---|
| private NativeIsolate(long isolateId, JNIConfig config) | |
| detachCurrentThread | back to summary |
|---|---|
| public void detachCurrentThread() | |
| detachThread | back to summary |
|---|---|
| private synchronized void detachThread(NativeIsolateThread nativeIsolateThread) | |
| doIsolateShutdown | back to summary |
|---|---|
| private boolean doIsolateShutdown() | |
| enter | back to summary |
|---|---|
| public NativeIsolateThread enter() Enters this
| |
| forIsolateId | back to summary |
|---|---|
| public static NativeIsolate forIsolateId(long isolateId, JNIConfig config) Creates a
| |
| get | back to summary |
|---|---|
| public static NativeIsolate get(long isolateId) Gets the NativeIsolate object for the entered isolate with the specified isolate address. Important Note Must be used only when the isolate with the specified isolateId is entered.
| |
| getConfig | back to summary |
|---|---|
| public JNIConfig getConfig() Returns the | |
| getIsolateId | back to summary |
|---|---|
| public long getIsolateId() Returns the isolate address. | |
| getOrCreateNativeIsolateThread | back to summary |
|---|---|
| private NativeIsolateThread getOrCreateNativeIsolateThread() | |
| isActive | back to summary |
|---|---|
| public boolean isActive() Returns true if the current thread is entered to this | |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() | |
| lastLeave | back to summary |
|---|---|
| pack-priv void lastLeave() | |
| registerNativeThread | back to summary |
|---|---|
| public void registerNativeThread(long isolateThreadId) Binds a native image thread to this isolate. When a thread created in the native image enters
for the first time to the host, it must be registered to the
| |
| shutdown | back to summary |
|---|---|
| public boolean shutdown() Requests an isolate shutdown. If there is no host thread entered into this
| |
| throwClosedException | back to summary |
|---|---|
| pack-priv RuntimeException throwClosedException() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| tryEnter | back to summary |
|---|---|
| public NativeIsolateThread tryEnter() Tries to enter this
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final NativeIsolate. | |
| public static final NativeIsolate. | |
| public static final NativeIsolate. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| public static NativeIsolate. | |
| public static NativeIsolate. |
| ACTIVE | back to summary |
|---|---|
| public static final NativeIsolate. | |
| DISPOSED | back to summary |
|---|---|
| public static final NativeIsolate. | |
| DISPOSING | back to summary |
|---|---|
| public static final NativeIsolate. | |
| State | back to summary |
|---|---|
| private State() | |
| isValid | back to summary |
|---|---|
| pack-priv boolean isValid() | |
| valueOf | back to summary |
|---|---|
| public static NativeIsolate. | |
| values | back to summary |
|---|---|
| public static NativeIsolate. | |