org.mmtk.plan.semispace
Class SSConstraints

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.semispace.SSConstraints
Direct Known Subclasses:
GCTraceConstraints, SSGCspyConstraints, UsePrimitiveWriteBarriersConstraints

public class SSConstraints
extends StopTheWorldConstraints

SemiSpace common constants.


Constructor Summary
SSConstraints()
           
 
Method Summary
 int gcHeaderBits()
           
 int gcHeaderWords()
           
 boolean movesObjects()
           
 int numSpecializedScans()
           
 
Methods inherited from class org.mmtk.plan.PlanConstraints
addressBulkCopySupported, booleanBulkCopySupported, byteBulkCopySupported, charBulkCopySupported, doubleBulkCopySupported, extentBulkCopySupported, floatBulkCopySupported, generateGCTrace, generational, intBulkCopySupported, longBulkCopySupported, maxNonLOSCopyBytes, maxNonLOSDefaultAllocBytes, maxNonLOSNonMovingAllocBytes, needsAddressReadBarrier, needsAddressWriteBarrier, needsBooleanReadBarrier, needsBooleanWriteBarrier, needsByteReadBarrier, needsByteWriteBarrier, needsCharReadBarrier, needsCharWriteBarrier, needsConcurrentWorkers, needsDoubleReadBarrier, needsDoubleWriteBarrier, needsExtentReadBarrier, needsExtentWriteBarrier, needsFloatReadBarrier, needsFloatWriteBarrier, needsForwardAfterLiveness, needsIntReadBarrier, needsIntWriteBarrier, needsJavaLangReferenceReadBarrier, needsLinearScan, needsLogBitInHeader, needsLongReadBarrier, needsLongWriteBarrier, needsObjectReferenceNonHeapReadBarrier, needsObjectReferenceNonHeapWriteBarrier, needsObjectReferenceReadBarrier, needsObjectReferenceWriteBarrier, 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

SSConstraints

public SSConstraints()
Method Detail

movesObjects

public boolean movesObjects()
Overrides:
movesObjects in class PlanConstraints
Returns:
true if this Plan moves objects.

gcHeaderBits

public int gcHeaderBits()
Specified by:
gcHeaderBits in class PlanConstraints
Returns:
The number of header bits that are required.

gcHeaderWords

public int gcHeaderWords()
Specified by:
gcHeaderWords in class PlanConstraints
Returns:
The number of header words that are required.

numSpecializedScans

public int numSpecializedScans()
Overrides:
numSpecializedScans in class PlanConstraints
Returns:
The specialized scan methods required