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, newDualLocationForValue
declaredLocation, locationForType, locationForType, locationForValue, locationForValue
public BasicAllocator(LayoutImpl layout)
public BasicAllocator(ShapeImpl shape)
protected Location moveLocation(Location oldLocation)
moveLocation
in class ShapeImpl.BaseAllocator
public Location newObjectLocation(boolean useFinal, boolean nonNull)
newObjectLocation
in class ShapeImpl.BaseAllocator
public Location newTypedObjectLocation(boolean useFinal, java.lang.Class<?> type, boolean nonNull)
newTypedObjectLocation
in class ShapeImpl.BaseAllocator
public Location newIntLocation(boolean useFinal)
newIntLocation
in class ShapeImpl.BaseAllocator
public Location newDoubleLocation(boolean useFinal)
newDoubleLocation
in class ShapeImpl.BaseAllocator
public Location newLongLocation(boolean useFinal)
newLongLocation
in class ShapeImpl.BaseAllocator
public Location newBooleanLocation(boolean useFinal)
newBooleanLocation
in class ShapeImpl.BaseAllocator
protected Location locationForValueUpcast(java.lang.Object value, Location oldLocation)
locationForValueUpcast
in class ShapeImpl.BaseAllocator
protected Locations.DeclaredDualLocation newDeclaredDualLocation(java.lang.Object value)
newDeclaredDualLocation
in class ShapeImpl.BaseAllocator