org.jikesrvm.objectmodel
Class FieldLayoutUnpacked.LayoutContext

java.lang.Object
  extended by org.jikesrvm.objectmodel.FieldLayoutContext
      extended by org.jikesrvm.objectmodel.FieldLayoutUnpacked.LayoutContext
All Implemented Interfaces:
SizeConstants
Enclosing class:
FieldLayoutUnpacked

private static class FieldLayoutUnpacked.LayoutContext
extends FieldLayoutContext


Field Summary
(package private)  int intHole
           
private static int NO_HOLE
           
 
Fields inherited from class org.jikesrvm.objectmodel.FieldLayoutContext
OBJECT_SIZE_ALIGN
 
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
FieldLayoutUnpacked.LayoutContext(byte alignment)
           
FieldLayoutUnpacked.LayoutContext(byte alignment, FieldLayoutUnpacked.LayoutContext superLayout)
           
 
Method Summary
(package private)  int nextOffset(int size, boolean isReference)
          Return the offset of a new field of the given size
 
Methods inherited from class org.jikesrvm.objectmodel.FieldLayoutContext
adjustAlignment, ensureObjectSize, getAlignment, getObjectSize, setObjectSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_HOLE

private static final int NO_HOLE
See Also:
Constant Field Values

intHole

int intHole
Constructor Detail

FieldLayoutUnpacked.LayoutContext

FieldLayoutUnpacked.LayoutContext(byte alignment)

FieldLayoutUnpacked.LayoutContext

FieldLayoutUnpacked.LayoutContext(byte alignment,
                                  FieldLayoutUnpacked.LayoutContext superLayout)
Method Detail

nextOffset

int nextOffset(int size,
               boolean isReference)
Description copied from class: FieldLayoutContext
Return the offset of a new field of the given size

Specified by:
nextOffset in class FieldLayoutContext