public abstract class BasicAllocator extends ShapeImpl.BaseAllocator
depth, hasPrimitiveArray, layout, objectArraySize, objectFieldSize, primitiveArraySize, primitiveFieldSize| Constructor and Description |
|---|
BasicAllocator(LayoutImpl layout) |
BasicAllocator(ShapeImpl shape) |
| Modifier and Type | Method and Description |
|---|---|
protected Location |
locationForValueUpcast(java.lang.Object value,
Location oldLocation) |
protected Location |
moveLocation(Location oldLocation) |
Location |
newBooleanLocation(boolean useFinal) |
protected Locations.DeclaredDualLocation |
newDeclaredDualLocation(java.lang.Object value) |
Location |
newDoubleLocation(boolean useFinal) |
Location |
newIntLocation(boolean useFinal) |
Location |
newLongLocation(boolean useFinal) |
Location |
newObjectLocation(boolean useFinal,
boolean nonNull) |
Location |
newTypedObjectLocation(boolean useFinal,
java.lang.Class<?> type,
boolean nonNull) |
addLocation, advance, constantLocation, locationForType, locationForValue, newDualLocation, newDualLocationForValuedeclaredLocation, locationForType, locationForType, locationForValue, locationForValuepublic BasicAllocator(LayoutImpl layout)
public BasicAllocator(ShapeImpl shape)
protected Location moveLocation(Location oldLocation)
moveLocation in class ShapeImpl.BaseAllocatorpublic Location newObjectLocation(boolean useFinal, boolean nonNull)
newObjectLocation in class ShapeImpl.BaseAllocatorpublic Location newTypedObjectLocation(boolean useFinal, java.lang.Class<?> type, boolean nonNull)
newTypedObjectLocation in class ShapeImpl.BaseAllocatorpublic Location newIntLocation(boolean useFinal)
newIntLocation in class ShapeImpl.BaseAllocatorpublic Location newDoubleLocation(boolean useFinal)
newDoubleLocation in class ShapeImpl.BaseAllocatorpublic Location newLongLocation(boolean useFinal)
newLongLocation in class ShapeImpl.BaseAllocatorpublic Location newBooleanLocation(boolean useFinal)
newBooleanLocation in class ShapeImpl.BaseAllocatorprotected Location locationForValueUpcast(java.lang.Object value, Location oldLocation)
locationForValueUpcast in class ShapeImpl.BaseAllocatorprotected Locations.DeclaredDualLocation newDeclaredDualLocation(java.lang.Object value)
newDeclaredDualLocation in class ShapeImpl.BaseAllocator