|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.realtime.MemoryArea | +--javax.realtime.ImmortalMemory
ImmortalMemory
is a memory resource that is shared among all
threads. Objects allocated in the immortal memory live until the end
of the application. Objects in immortal memory are never subject to
garbage collection, although some GC algorithms may require a scan of
the immortal memory. An immortal object may only contain
reference to other immortal objects or to heap objects. Unlike
standard Java heap objects, immortal objects continue to exist even
after there are no other references to them.
Method Summary | |
static ImmortalMemory |
instance()
Returns a pointer to the singleton ImmortalMemory
space. |
Methods inherited from class javax.realtime.MemoryArea |
enter, enter, executeInArea, getMemoryArea, memoryConsumed, memoryRemaining, newArray, newInstance, newInstance, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ImmortalMemory instance()
ImmortalMemory
space.ImmortalMemory
object.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |