aicas logoJamaica 6.4 release 1

javax.realtime
Class GarbageCollector

java.lang.Object
  extended by javax.realtime.GarbageCollector

public abstract class GarbageCollector
extends Object

Jamaica Real-Time Specification for Java class GarbageCollector.


Constructor Summary
GarbageCollector()
          Deprecated. RTSJ V1.0.1 the user application cannot create its own garbage collector.
 
Method Summary
abstract  RelativeTime getPreemptionLatency()
          getPreemptionLatency returns the maximum time required for any schedulable object to preempt ongoing garbage collection activity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GarbageCollector

public GarbageCollector()
Deprecated. RTSJ V1.0.1 the user application cannot create its own garbage collector.

Constructor to create an instance of GarbageCollector.

Method Detail

getPreemptionLatency

public abstract RelativeTime getPreemptionLatency()
getPreemptionLatency returns the maximum time required for any schedulable object to preempt ongoing garbage collection activity. Thread of class NoHeapRealtimeThread or AbstractAsyncEventHandlers with option no-heap will not suffer from this preemption delay since these threads can always be executed independently of the state of the garbage collector. Any other thread may be blocked by the garbage collector for the time returned by this function. For JamaicaVM, any thread can preempt garbage collection activity at the normal thread preemption delay specified via the Jamaica builder option -threadPreemption , typically a few hundred machine instructions.

Returns:
the GC preemption latency

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.