org.openjdk.jol.datamodel
Class X86_64_DataModel

java.lang.Object
  extended by 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

Constructor Summary
X86_64_DataModel()
           
 
Method Summary
 int headerSize()
          Return the object header size.
 int sizeOf(String klass)
          Return the size of the type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X86_64_DataModel

public X86_64_DataModel()
Method Detail

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.