public class DynamicObjectBasic extends DynamicObjectImpl
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
DynamicObjectBasic.DynamicField |
DynamicObject.FlagsFunctionreshapeCount| Constructor and Description |
|---|
DynamicObjectBasic(Shape shape) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkExtensionArrayInvariants(Shape newShape)
Check whether the extension arrays are in accordance with the description in the shape.
|
protected DynamicObject |
cloneWithShape(Shape currentShape) |
protected void |
growObjectStore(Shape oldShape,
Shape newShape)
Simpler version of
resizeObjectStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape) when the object is only increasing in size. |
protected void |
growPrimitiveStore(Shape oldShape,
Shape newShape)
Simpler version of
resizePrimitiveStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape) when the object is only increasing in size. |
protected void |
initialize(Shape shape) |
protected void |
reshape(ShapeImpl newShape) |
protected void |
resizeObjectStore(Shape oldShape,
Shape newShape) |
protected void |
resizePrimitiveStore(Shape oldShape,
Shape newShape) |
changeFlags, changeFlags, clone, copyProperties, debugDump, debugDump, define, define, delete, equals, get, getShape, getTypeIdentifier, hashCode, isEmpty, set, setShape, setShapeAndGrow, setShapeAndResize, setShapeAndResize, size, toString, updateShapepublic DynamicObjectBasic(Shape shape)
protected final void initialize(Shape shape)
initialize in class DynamicObjectImplprotected final void growObjectStore(Shape oldShape, Shape newShape)
resizeObjectStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape) when the object is only increasing in size.growObjectStore in class DynamicObjectImplprotected final void growPrimitiveStore(Shape oldShape, Shape newShape)
resizePrimitiveStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape) when the object is only increasing in size.growPrimitiveStore in class DynamicObjectImplprotected final void resizeObjectStore(Shape oldShape, Shape newShape)
resizeObjectStore in class DynamicObjectImplprotected final void resizePrimitiveStore(Shape oldShape, Shape newShape)
resizePrimitiveStore in class DynamicObjectImplprotected final boolean checkExtensionArrayInvariants(Shape newShape)
checkExtensionArrayInvariants in class DynamicObjectImplprotected final DynamicObject cloneWithShape(Shape currentShape)
cloneWithShape in class DynamicObjectImplprotected final void reshape(ShapeImpl newShape)