org.mmtk.utility
Interface Constants

All Known Implementing Classes:
AddressDeque, AddressPairDeque, AddressTripleDeque, Allocator, Barriers, BaseGenericFreeList, BaseLargeObjectSpace, Block, BlockAllocator, BTTraceLocal, BumpPointer, Chunk, ChunkList, CMS, CMSCollector, CMSMutator, CMSTraceLocal, CollectorContext, CollectorLocal, ComplexPhase, Concurrent, ConcurrentCollector, ConcurrentMutator, ConcurrentPhase, ConcurrentZeroingContext, ControllerCollectorContext, Conversions, CopyLocal, CopyMS, CopyMSCollector, CopyMSMutator, CopyMSTraceLocal, CopySpace, Defrag, Deque, DoublyLinkedList, EmbeddedMetaData, ExplicitFreeListLocal, ExplicitFreeListSpace, ExplicitLargeObjectSpace, FreeListPageResource, GCTrace, GCTraceCollector, GCTraceMutator, GCTraceTraceLocal, Gen, GenCollector, GenCopy, GenCopyCollector, GenCopyMatureTraceLocal, GenCopyMutator, GenericFreeList, GenImmix, GenImmixCollector, GenImmixMatureDefragTraceLocal, GenImmixMatureTraceLocal, GenImmixMutator, GenMatureTraceLocal, GenMS, GenMSCollector, GenMSMatureTraceLocal, GenMSMutator, GenMutator, GenNurseryTraceLocal, GenRC, GenRCCollector, GenRCFindRootSetTraceLocal, GenRCMutator, HeapGrowthManager, Immix, ImmixAllocator, ImmixCollector, ImmixDefragTraceLocal, ImmixMutator, ImmixSpace, ImmixTraceLocal, ImmortalLocal, ImmortalSpace, LargeObjectAllocator, LargeObjectLocal, LargeObjectSpace, Line, LocalDeque, LocalQueue, LocalSSB, Log, MarkCompactLocal, MarkCompactSpace, MarkSweepLocal, MarkSweepSpace, MC, MCCollector, MCForwardTraceLocal, MCMarkTraceLocal, MCMutator, Memory, Memory, MemoryManager, Mmapper, Monitor, MonotonePageResource, MS, MSCollector, MSMutator, MSTraceLocal, MutatorContext, MutatorLocal, NoGC, NoGCCollector, NoGCMutator, NoGCTraceLocal, ObjectReferenceBuffer, ObjectReferenceDeque, PageResource, ParallelCollector, ParallelCollectorGroup, Phase, Plan, Poisoned, PoisonedCollector, PoisonedMutator, RawPageSpace, RC, RCBase, RCBaseCollector, RCBaseMutator, RCCollector, RCDecBuffer, RCFindRootSetTraceLocal, RCHeader, RCMutator, RVMThread, SanityChecker, SanityCheckerLocal, SanityDataTable, SanityRootTraceLocal, SanityTraceLocal, ScanBootImage, Scanning, Scanning, ScanStatics, SegregatedFreeList, SegregatedFreeListLocal, SegregatedFreeListSpace, Selected.Collector, Selected.Mutator, Selected.Plan, SharedDeque, Simple, SimpleCollector, SimpleHashtable, SimpleMutator, SimplePhase, SortSharedDeque, SortTODAddressStack, SortTODObjectReferenceStack, SortTODSharedDeque, Space, SpaceDescriptor, SS, SSCollector, SSGCspy, SSGCspyCollector, SSGCspyMutator, SSGCspyTraceLocal, SSMutator, SSTraceLocal, Statistics, StickyImmix, StickyImmixCollector, StickyImmixMutator, StickyImmixNurseryTraceLocal, StickyMS, StickyMSCollector, StickyMSMutator, StickyMSNurseryTraceLocal, StopTheWorld, StopTheWorldCollector, StopTheWorldMutator, ThreadContext, Trace, TraceBuffer, TraceGenerator, TraceLocal, TraceRate, Treadmill, UsePrimitiveWriteBarriers, UsePrimitiveWriteBarriersCollector, UsePrimitiveWriteBarriersMutator, Util, VMRequest, WriteBuffer

public interface Constants

MMTk follows the pattern set by Jikes RVM for defining sizes of primitive types thus:

 static final int LOG_BYTES_IN_INT = 2;
 static final int BYTES_IN_INT = 1<


Field Summary
static int ALIGNMENT_VALUE
          The VM will add at most this value minus BYTES_IN_INT bytes of padding to the front of an object that it places in a region of memory.
static int ARRAY_ELEMENT
           
static int BITS_IN_ADDRESS
           
static int BITS_IN_BYTE
           
static int BITS_IN_CHAR
           
static int BITS_IN_INT
           
static int BITS_IN_PAGE
           
static int BITS_IN_SHORT
           
static int BITS_IN_WORD
           
static int BYTES_IN_ADDRESS
           
static int BYTES_IN_BYTE
           
static int BYTES_IN_CHAR
           
static int BYTES_IN_INT
           
static int BYTES_IN_KBYTE
           
static int BYTES_IN_MBYTE
           
static int BYTES_IN_PAGE
           
static int BYTES_IN_SHORT
           
static int BYTES_IN_WORD
           
static int CARD_MASK
           
static int CARD_META_PAGES_PER_REGION
           
static int INSTANCE_FIELD
           
static int LOG_BITS_IN_ADDRESS
           
static byte LOG_BITS_IN_BYTE
           
static byte LOG_BITS_IN_CHAR
           
static byte LOG_BITS_IN_INT
           
static int LOG_BITS_IN_PAGE
           
static byte LOG_BITS_IN_SHORT
           
static int LOG_BITS_IN_WORD
           
static byte LOG_BYTES_IN_ADDRESS
           
static byte LOG_BYTES_IN_ADDRESS_SPACE
           
static byte LOG_BYTES_IN_BYTE
           
static byte LOG_BYTES_IN_CHAR
           
static byte LOG_BYTES_IN_INT
           
static byte LOG_BYTES_IN_KBYTE
           
static byte LOG_BYTES_IN_MBYTE
           
static byte LOG_BYTES_IN_PAGE
           
static byte LOG_BYTES_IN_SHORT
           
static byte LOG_BYTES_IN_WORD
           
static int LOG_CARD_BYTES
           
static int LOG_CARD_GRAIN
           
static int LOG_CARD_META_BYTES
           
static int LOG_CARD_META_PAGES
           
static int LOG_CARD_META_SIZE
           
static int LOG_CARD_UNITS
           
static byte LOG_MIN_ALIGNMENT
          This value specifies the minimum allocation alignment requirement of the VM.
static int MAX_ALIGNMENT
          The maximum alignment request the vm will make.
static int MAX_BYTES_PADDING
          The VM will add at most this value minus BYTES_IN_INT bytes of padding to the front of an object that it places in a region of memory.
static int MAX_INT
           
static int MIN_ALIGNMENT
           
static int MIN_INT
           
static boolean SUPPORT_CARD_SCANNING
           
 

Field Detail

INSTANCE_FIELD

static final int INSTANCE_FIELD
See Also:
Constant Field Values

ARRAY_ELEMENT

static final int ARRAY_ELEMENT
See Also:
Constant Field Values

LOG_BYTES_IN_BYTE

static final byte LOG_BYTES_IN_BYTE
See Also:
Constant Field Values

BYTES_IN_BYTE

static final int BYTES_IN_BYTE
See Also:
Constant Field Values

LOG_BITS_IN_BYTE

static final byte LOG_BITS_IN_BYTE
See Also:
Constant Field Values

BITS_IN_BYTE

static final int BITS_IN_BYTE
See Also:
Constant Field Values

LOG_BYTES_IN_MBYTE

static final byte LOG_BYTES_IN_MBYTE
See Also:
Constant Field Values

BYTES_IN_MBYTE

static final int BYTES_IN_MBYTE
See Also:
Constant Field Values

LOG_BYTES_IN_KBYTE

static final byte LOG_BYTES_IN_KBYTE
See Also:
Constant Field Values

BYTES_IN_KBYTE

static final int BYTES_IN_KBYTE
See Also:
Constant Field Values

SUPPORT_CARD_SCANNING

static final boolean SUPPORT_CARD_SCANNING
See Also:
Constant Field Values

LOG_CARD_META_SIZE

static final int LOG_CARD_META_SIZE
See Also:
Constant Field Values

LOG_CARD_UNITS

static final int LOG_CARD_UNITS
See Also:
Constant Field Values

LOG_CARD_GRAIN

static final int LOG_CARD_GRAIN
See Also:
Constant Field Values

LOG_CARD_BYTES

static final int LOG_CARD_BYTES
See Also:
Constant Field Values

LOG_CARD_META_BYTES

static final int LOG_CARD_META_BYTES
See Also:
Constant Field Values

LOG_CARD_META_PAGES

static final int LOG_CARD_META_PAGES

CARD_META_PAGES_PER_REGION

static final int CARD_META_PAGES_PER_REGION

CARD_MASK

static final int CARD_MASK
See Also:
Constant Field Values

LOG_BYTES_IN_CHAR

static final byte LOG_BYTES_IN_CHAR
See Also:
Constant Field Values

BYTES_IN_CHAR

static final int BYTES_IN_CHAR
See Also:
Constant Field Values

LOG_BITS_IN_CHAR

static final byte LOG_BITS_IN_CHAR
See Also:
Constant Field Values

BITS_IN_CHAR

static final int BITS_IN_CHAR
See Also:
Constant Field Values

LOG_BYTES_IN_SHORT

static final byte LOG_BYTES_IN_SHORT
See Also:
Constant Field Values

BYTES_IN_SHORT

static final int BYTES_IN_SHORT
See Also:
Constant Field Values

LOG_BITS_IN_SHORT

static final byte LOG_BITS_IN_SHORT
See Also:
Constant Field Values

BITS_IN_SHORT

static final int BITS_IN_SHORT
See Also:
Constant Field Values

LOG_BYTES_IN_INT

static final byte LOG_BYTES_IN_INT
See Also:
Constant Field Values

BYTES_IN_INT

static final int BYTES_IN_INT
See Also:
Constant Field Values

LOG_BITS_IN_INT

static final byte LOG_BITS_IN_INT
See Also:
Constant Field Values

BITS_IN_INT

static final int BITS_IN_INT
See Also:
Constant Field Values

MAX_INT

static final int MAX_INT
See Also:
Constant Field Values

MIN_INT

static final int MIN_INT
See Also:
Constant Field Values

LOG_BYTES_IN_ADDRESS

static final byte LOG_BYTES_IN_ADDRESS

BYTES_IN_ADDRESS

static final int BYTES_IN_ADDRESS

LOG_BITS_IN_ADDRESS

static final int LOG_BITS_IN_ADDRESS

BITS_IN_ADDRESS

static final int BITS_IN_ADDRESS

LOG_BYTES_IN_WORD

static final byte LOG_BYTES_IN_WORD

BYTES_IN_WORD

static final int BYTES_IN_WORD

LOG_BITS_IN_WORD

static final int LOG_BITS_IN_WORD

BITS_IN_WORD

static final int BITS_IN_WORD

LOG_BYTES_IN_PAGE

static final byte LOG_BYTES_IN_PAGE

BYTES_IN_PAGE

static final int BYTES_IN_PAGE

LOG_BITS_IN_PAGE

static final int LOG_BITS_IN_PAGE

BITS_IN_PAGE

static final int BITS_IN_PAGE

LOG_BYTES_IN_ADDRESS_SPACE

static final byte LOG_BYTES_IN_ADDRESS_SPACE

LOG_MIN_ALIGNMENT

static final byte LOG_MIN_ALIGNMENT
This value specifies the minimum allocation alignment requirement of the VM. When making allocation requests, both align and offset must be multiples of MIN_ALIGNMENT. This value is required to be a power of 2.


MIN_ALIGNMENT

static final int MIN_ALIGNMENT

MAX_ALIGNMENT

static final int MAX_ALIGNMENT
The maximum alignment request the vm will make. This must be a power of two multiple of the minimum alignment.


MAX_BYTES_PADDING

static final int MAX_BYTES_PADDING
The VM will add at most this value minus BYTES_IN_INT bytes of padding to the front of an object that it places in a region of memory. This value must be a power of 2.


ALIGNMENT_VALUE

static final int ALIGNMENT_VALUE
The VM will add at most this value minus BYTES_IN_INT bytes of padding to the front of an object that it places in a region of memory. This value must be a power of 2.