org.jikesrvm.mm.mminterface
Class MemoryManagerConstants

java.lang.Object
  extended by org.jikesrvm.mm.mminterface.MemoryManagerConstants
All Implemented Interfaces:
SizeConstants

public class MemoryManagerConstants
extends Object
implements SizeConstants

This class merely exposes the MMTk constants into the Jikes RVM package space so that they can be accessed by the VM in an MM-neutral way. It is separate from MemoryManager to break cyclic class-loading dependencies.


Field Summary
static int GC_HEADER_BITS
          Number of bits in the GC header required by the selected plan
static int GC_HEADER_BYTES
          Number of additional bytes required in the header by the selected plan
static boolean GENERATE_GC_TRACE
          true if the selected plan needs support for generating a GC trace
static boolean MOVES_CODE
          true if the selected plan moves code
static boolean MOVES_OBJECTS
          true if the selected plan may move objects
static boolean MOVES_TIBS
          true if the selected plan moves TIB objects
static boolean NEEDS_CONCURRENT_WORKERS
          true if the selected plan requires concurrent worker threads
static boolean NEEDS_LINEAR_SCAN
          true if the selected plan needs support for linearly scanning the heap
 
Fields inherited from interface org.jikesrvm.SizeConstants
BITS_IN_ADDRESS, BITS_IN_BOOLEAN, BITS_IN_BYTE, BITS_IN_CHAR, BITS_IN_DOUBLE, BITS_IN_EXTENT, BITS_IN_FLOAT, BITS_IN_INT, BITS_IN_LONG, BITS_IN_OFFSET, BITS_IN_PAGE, BITS_IN_SHORT, BITS_IN_WORD, BYTES_IN_ADDRESS, BYTES_IN_BOOLEAN, BYTES_IN_BYTE, BYTES_IN_CHAR, BYTES_IN_DOUBLE, BYTES_IN_EXTENT, BYTES_IN_FLOAT, BYTES_IN_INT, BYTES_IN_LONG, BYTES_IN_OFFSET, BYTES_IN_PAGE, BYTES_IN_SHORT, BYTES_IN_WORD, LOG_BITS_IN_ADDRESS, LOG_BITS_IN_BOOLEAN, LOG_BITS_IN_BYTE, LOG_BITS_IN_CHAR, LOG_BITS_IN_DOUBLE, LOG_BITS_IN_EXTENT, LOG_BITS_IN_FLOAT, LOG_BITS_IN_INT, LOG_BITS_IN_LONG, LOG_BITS_IN_OFFSET, LOG_BITS_IN_PAGE, LOG_BITS_IN_SHORT, LOG_BITS_IN_WORD, LOG_BYTES_IN_ADDRESS, LOG_BYTES_IN_BOOLEAN, LOG_BYTES_IN_BYTE, LOG_BYTES_IN_CHAR, LOG_BYTES_IN_DOUBLE, LOG_BYTES_IN_EXTENT, LOG_BYTES_IN_FLOAT, LOG_BYTES_IN_INT, LOG_BYTES_IN_LONG, LOG_BYTES_IN_OFFSET, LOG_BYTES_IN_PAGE, LOG_BYTES_IN_SHORT, LOG_BYTES_IN_WORD
 
Constructor Summary
MemoryManagerConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEEDS_LINEAR_SCAN

public static final boolean NEEDS_LINEAR_SCAN
true if the selected plan needs support for linearly scanning the heap


GC_HEADER_BITS

public static final int GC_HEADER_BITS
Number of bits in the GC header required by the selected plan


GC_HEADER_BYTES

public static final int GC_HEADER_BYTES
Number of additional bytes required in the header by the selected plan


NEEDS_CONCURRENT_WORKERS

public static final boolean NEEDS_CONCURRENT_WORKERS
true if the selected plan requires concurrent worker threads


GENERATE_GC_TRACE

public static final boolean GENERATE_GC_TRACE
true if the selected plan needs support for generating a GC trace


MOVES_OBJECTS

public static final boolean MOVES_OBJECTS
true if the selected plan may move objects


MOVES_TIBS

public static final boolean MOVES_TIBS
true if the selected plan moves TIB objects

See Also:
Constant Field Values

MOVES_CODE

public static final boolean MOVES_CODE
true if the selected plan moves code

See Also:
Constant Field Values
Constructor Detail

MemoryManagerConstants

public MemoryManagerConstants()