org.openjdk.jol.datamodel
Class X86_64_DataModel
java.lang.Object
org.openjdk.jol.datamodel.X86_64_DataModel
- All Implemented Interfaces:
- DataModel
public class X86_64_DataModel
- extends Object
- implements DataModel
x86 data model, 64 bits.
- Author:
- Aleksey Shipilev
X86_64_DataModel
public X86_64_DataModel()
headerSize
public int headerSize()
- Description copied from interface:
DataModel
- Return the object header size.
- Specified by:
headerSize
in interface DataModel
- Returns:
- object header size in bytes.
sizeOf
public int sizeOf(String klass)
- Description copied from interface:
DataModel
- Return the size of the type.
- Specified by:
sizeOf
in interface DataModel
- Parameters:
klass
- string representation of the type.
- Returns:
- size in bytes.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All Rights Reserved.