java.lang.Object javax.realtime.MemoryArea javax.realtime.ImmortalMemory
public final class ImmortalMemory
ImmortalMemory is a memory resource that is unexceptionally available
to all schedulable objects and Java threads for use and allocation.
An immortal object may not contain references to any form of scoped memory,
Objects in immortal have the same states with respect to finalization as objects in the standard Java heap, but there is no assurance that immortal objects will be finalized even when the JVM is terminated.
ImmortalMemory should be overridden only by methods that
Execute the run method from the
Returns a pointer to the singleton
|Methods inherited from class javax.realtime.MemoryArea|
|Methods inherited from class java.lang.Object|
public static ImmortalMemory instance()
public void executeInArea(java.lang.Runnable logic)
logicparameter using this memory area as the current allocation context. For a schedulable object, this saves the current scope stack and replaces it with one consisting only of the
ImmortalMemoryinstance; restoring the original scope stack upon completion.
logic- The runnable object whose
run()method should be executed.
java.lang.IllegalArgumentException- Thrown if