private static class FieldLayoutUnpacked.LayoutContext extends FieldLayoutContext
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
intHole |
private static int |
NO_HOLE |
OBJECT_SIZE_ALIGN| Constructor and Description |
|---|
LayoutContext(byte alignment) |
LayoutContext(byte alignment,
FieldLayoutUnpacked.LayoutContext superLayout) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
nextOffset(int size,
boolean isReference) |
adjustAlignment, ensureObjectSize, getAlignment, getObjectSize, setObjectSizeprivate static final int NO_HOLE
int intHole
LayoutContext(byte alignment)
LayoutContext(byte alignment, FieldLayoutUnpacked.LayoutContext superLayout)
int nextOffset(int size, boolean isReference)
nextOffset in class FieldLayoutContextsize - the field's size in bytesisReference - whether the field is a reference field