public class FieldLayoutPacked extends FieldLayout
| Modifier and Type | Class and Description |
|---|---|
private static class |
FieldLayoutPacked.LayoutContext
Lay out an object, maintaining offsets of free slots of size 1,2,4 and 8
bytes.
|
DEBUG| Constructor and Description |
|---|
FieldLayoutPacked(boolean largeFieldsFirst,
boolean clusterReferenceFields) |
| Modifier and Type | Method and Description |
|---|---|
protected FieldLayoutContext |
getLayoutContext(RVMClass klass)
Return the appropriate layout context object for the given class.
|
layoutField, layoutInstanceFields, log2, setOffset, updateClasspublic FieldLayoutPacked(boolean largeFieldsFirst, boolean clusterReferenceFields)
protected FieldLayoutContext getLayoutContext(RVMClass klass)
FieldLayoutgetLayoutContext in class FieldLayoutklass - the class to layoutFieldLayout.getLayoutContext(RVMClass)