org.mmtk.plan.generational.immix
Class GenImmixConstraints

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.generational.GenConstraints
                  extended by org.mmtk.plan.generational.immix.GenImmixConstraints
Direct Known Subclasses:
Selected.Constraints

public class GenImmixConstraints
extends GenConstraints

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

Constructor Detail

GenImmixConstraints

public GenImmixConstraints()
Method Detail

numSpecializedScans

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

maxNonLOSCopyBytes

public int maxNonLOSCopyBytes()
Overrides:
maxNonLOSCopyBytes in class PlanConstraints
Returns:
Size (in bytes) beyond which copied objects must be copied to the LOS