javax.realtime
Class CopyingGarbageCollector

java.lang.Object
  |
  +--javax.realtime.GarbageCollector
        |
        +--javax.realtime.CopyingGarbageCollector

public class CopyingGarbageCollector
extends GarbageCollector

CopyingGarbageCollector provides a means of interfacing with the Stop and Copy garbage collector written by Karen.


Constructor Summary
(package private) CopyingGarbageCollector()
           
 
Method Summary
 javax.realtime.RelativeTime getPreemptionLatency()
          Preemption latency is a measure of the maximum time a RealtimeThread may have to wait for the collector to reach a preemption-safe point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyingGarbageCollector

CopyingGarbageCollector()
Method Detail

getPreemptionLatency

public javax.realtime.RelativeTime getPreemptionLatency()
Description copied from class: GarbageCollector
Preemption latency is a measure of the maximum time a RealtimeThread may have to wait for the collector to reach a preemption-safe point. Instances of RealtimeThread are allowed to preempt the garbage collector (instances of NoHeapRealtimeThread preempt immediately but instances of RealtimeThread must wait until the collector reaches a preemption-safe point).

Specified by:
getPreemptionLatency in class GarbageCollector
Returns:
The preempting latency of the garbage collection algorithm represented by this if applicable. May return zero, if there is no collector available.