Package com.oracle.truffle.object.basic
Class DynamicObjectBasic
java.lang.Object
com.oracle.truffle.object.DynamicObjectImpl
com.oracle.truffle.object.basic.DynamicObjectBasic
- All Implemented Interfaces:
DynamicObject,TypedObject,Cloneable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.oracle.truffle.api.object.DynamicObject
DynamicObject.FlagsFunction -
Field Summary
Fields inherited from class com.oracle.truffle.object.DynamicObjectImpl
reshapeCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleancheckExtensionArrayInvariants(Shape newShape) Check whether the extension arrays are in accordance with the description in the shape.protected final DynamicObjectcloneWithShape(Shape currentShape) protected final voidgrowObjectStore(Shape oldShape, Shape newShape) Simpler version ofresizeObjectStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape)when the object is only increasing in size.protected final voidgrowPrimitiveStore(Shape oldShape, Shape newShape) Simpler version ofresizePrimitiveStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape)when the object is only increasing in size.protected final voidinitialize(Shape shape) protected final voidprotected final voidresizeObjectStore(Shape oldShape, Shape newShape) protected final voidresizePrimitiveStore(Shape oldShape, Shape newShape) Methods inherited from class com.oracle.truffle.object.DynamicObjectImpl
changeFlags, changeFlags, clone, copyProperties, debugDump, debugDump, define, define, delete, equals, get, getShape, getTypeIdentifier, hashCode, isEmpty, set, setShape, setShapeAndGrow, setShapeAndResize, setShapeAndResize, size, toString, updateShape
-
Constructor Details
-
DynamicObjectBasic
-
-
Method Details
-
initialize
- Specified by:
initializein classDynamicObjectImpl
-
growObjectStore
Simpler version ofresizeObjectStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape)when the object is only increasing in size.- Specified by:
growObjectStorein classDynamicObjectImpl
-
growPrimitiveStore
Simpler version ofresizePrimitiveStore(com.oracle.truffle.api.object.Shape, com.oracle.truffle.api.object.Shape)when the object is only increasing in size.- Specified by:
growPrimitiveStorein classDynamicObjectImpl
-
resizeObjectStore
- Specified by:
resizeObjectStorein classDynamicObjectImpl
-
resizePrimitiveStore
- Specified by:
resizePrimitiveStorein classDynamicObjectImpl
-
checkExtensionArrayInvariants
Check whether the extension arrays are in accordance with the description in the shape.- Specified by:
checkExtensionArrayInvariantsin classDynamicObjectImpl
-
cloneWithShape
- Specified by:
cloneWithShapein classDynamicObjectImpl
-
reshape
-