close() method throws unconditionally.
Adding new resources to the global session, does nothing: as the session can never become not-alive, there is nothing to track.
Acquiring and or releasing a memory session similarly does nothing.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | GlobalSession.
This is a global session that wraps a heap object. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv void | |
| public void | |
| public void |
| GlobalSession | back to summary |
|---|---|
| public GlobalSession() | |
| acquire0 | back to summary |
|---|---|
| public void acquire0() Implements abstract jdk.
| |
| addInternal | back to summary |
|---|---|
| pack-priv void addInternal(MemorySessionImpl. Overrides jdk.
| |
| justClose | back to summary |
|---|---|
| public void justClose() Implements abstract jdk.
| |
| release0 | back to summary |
|---|---|
| public void release0() Implements abstract jdk.
| |
Object#equals(Object), as that would be problematic when comparing buffers, whose equality and
hash codes are content-dependent.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Implements java. Returns |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code of this scope object. |
| ref | back to summary |
|---|---|
| pack-priv final Object ref | |
| HeapSession | back to summary |
|---|---|
| public HeapSession(Object ref) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Returns
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code of this scope object.
| |