public static interface ObjectSizeCalculator.MemoryLayoutSpecification
Modifier and Type | Method and Description |
---|---|
int |
getArrayHeaderSize()
Returns the fixed overhead of an array of any type or length in this JVM.
|
int |
getObjectHeaderSize()
Returns the fixed overhead of for any
Object subclass in this JVM. |
int |
getObjectPadding()
Returns the quantum field size for a field owned by an object in this JVM.
|
int |
getReferenceSize()
Returns the fixed size of an object reference in this JVM.
|
int |
getSuperclassFieldPadding()
Returns the quantum field size for a field owned by one of an object's ancestor superclasses
in this JVM.
|
int getArrayHeaderSize()
int getObjectHeaderSize()
Object
subclass in this JVM.int getObjectPadding()
int getReferenceSize()
int getSuperclassFieldPadding()
Copyright © 2023. All Rights Reserved.