org.mmtk.plan.poisoned
Class PoisonedConstraints

java.lang.Object
  extended by org.mmtk.plan.PlanConstraints
      extended by org.mmtk.plan.SimpleConstraints
          extended by org.mmtk.plan.StopTheWorldConstraints
              extended by org.mmtk.plan.marksweep.MSConstraints
                  extended by org.mmtk.plan.poisoned.PoisonedConstraints

public class PoisonedConstraints
extends MSConstraints

This class and its subclasses communicate to the host VM/Runtime any features of the selected plan that it needs to know. This is separate from the main Plan/PlanLocal class in order to bypass any issues with ordering of static initialization.


Constructor Summary
PoisonedConstraints()
           
 
Method Summary
 boolean needsObjectReferenceNonHeapReadBarrier()
           
 boolean needsObjectReferenceNonHeapWriteBarrier()
           
 boolean needsObjectReferenceReadBarrier()
           
 boolean needsObjectReferenceWriteBarrier()
           
 
Methods inherited from class org.mmtk.plan.marksweep.MSConstraints
gcHeaderBits, gcHeaderWords, maxNonLOSDefaultAllocBytes, numSpecializedScans
 
Methods inherited from class org.mmtk.plan.PlanConstraints
addressBulkCopySupported, booleanBulkCopySupported, byteBulkCopySupported, charBulkCopySupported, doubleBulkCopySupported, extentBulkCopySupported, floatBulkCopySupported, generateGCTrace, generational, intBulkCopySupported, longBulkCopySupported, maxNonLOSCopyBytes, maxNonLOSNonMovingAllocBytes, movesObjects, needsAddressReadBarrier, needsAddressWriteBarrier, needsBooleanReadBarrier, needsBooleanWriteBarrier, needsByteReadBarrier, needsByteWriteBarrier, needsCharReadBarrier, needsCharWriteBarrier, needsConcurrentWorkers, needsDoubleReadBarrier, needsDoubleWriteBarrier, needsExtentReadBarrier, needsExtentWriteBarrier, needsFloatReadBarrier, needsFloatWriteBarrier, needsForwardAfterLiveness, needsIntReadBarrier, needsIntWriteBarrier, needsJavaLangReferenceReadBarrier, needsLinearScan, needsLogBitInHeader, needsLongReadBarrier, needsLongWriteBarrier, needsOffsetReadBarrier, needsOffsetWriteBarrier, needsShortReadBarrier, needsShortWriteBarrier, needsWordReadBarrier, needsWordWriteBarrier, objectReferenceBulkCopySupported, offsetBulkCopySupported, shortBulkCopySupported, withGCspy, wordBulkCopySupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoisonedConstraints

public PoisonedConstraints()
Method Detail

needsObjectReferenceWriteBarrier

public boolean needsObjectReferenceWriteBarrier()
Overrides:
needsObjectReferenceWriteBarrier in class PlanConstraints
Returns:
true if this Plan requires write barriers on object references.

needsObjectReferenceReadBarrier

public boolean needsObjectReferenceReadBarrier()
Overrides:
needsObjectReferenceReadBarrier in class PlanConstraints
Returns:
true if this Plan requires read barriers on object references.

needsObjectReferenceNonHeapWriteBarrier

public boolean needsObjectReferenceNonHeapWriteBarrier()
Overrides:
needsObjectReferenceNonHeapWriteBarrier in class PlanConstraints
Returns:
true if this Plan requires non-heap write barriers on object references.

needsObjectReferenceNonHeapReadBarrier

public boolean needsObjectReferenceNonHeapReadBarrier()
Overrides:
needsObjectReferenceNonHeapReadBarrier in class PlanConstraints
Returns:
true if this Plan requires non-heap read barriers on object references.