org.mmtk.plan.refcount.generational
Class GenRCConstraints
java.lang.Object
org.mmtk.plan.PlanConstraints
org.mmtk.plan.SimpleConstraints
org.mmtk.plan.StopTheWorldConstraints
org.mmtk.plan.refcount.RCBaseConstraints
org.mmtk.plan.refcount.generational.GenRCConstraints
public class GenRCConstraints
- extends RCBaseConstraints
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.
Methods inherited from class org.mmtk.plan.PlanConstraints |
addressBulkCopySupported, booleanBulkCopySupported, byteBulkCopySupported, charBulkCopySupported, doubleBulkCopySupported, extentBulkCopySupported, floatBulkCopySupported, generateGCTrace, generational, intBulkCopySupported, longBulkCopySupported, 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, needsOffsetReadBarrier, needsOffsetWriteBarrier, needsShortReadBarrier, needsShortWriteBarrier, needsWordReadBarrier, needsWordWriteBarrier, numSpecializedScans, offsetBulkCopySupported, shortBulkCopySupported, withGCspy, wordBulkCopySupported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenRCConstraints
public GenRCConstraints()
movesObjects
public boolean movesObjects()
- Overrides:
movesObjects
in class PlanConstraints
- Returns:
true
if this Plan moves objects.
maxNonLOSCopyBytes
public int maxNonLOSCopyBytes()
- Overrides:
maxNonLOSCopyBytes
in class PlanConstraints
- Returns:
- Size (in bytes) beyond which copied objects must be copied to the LOS
buildForGenRC
public boolean buildForGenRC()
- Overrides:
buildForGenRC
in class RCBaseConstraints
- Returns:
true
if we are building for generational reference counting