private static class ClassSize.UnsafeLayout extends ClassSize.MemoryLayout
Modifier and Type | Class and Description |
---|---|
private static class |
ClassSize.UnsafeLayout.HeaderSize |
Constructor and Description |
---|
UnsafeLayout() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
arrayHeaderSize() |
(package private) int |
headerSize() |
(package private) int |
oopSize()
Return the size of an "ordinary object pointer".
|
(package private) long |
sizeOfByteArray(int len) |
align
public UnsafeLayout()
int headerSize()
headerSize
in class ClassSize.MemoryLayout
int arrayHeaderSize()
arrayHeaderSize
in class ClassSize.MemoryLayout
int oopSize()
ClassSize.MemoryLayout
oopSize
in class ClassSize.MemoryLayout
long sizeOfByteArray(int len)
sizeOfByteArray
in class ClassSize.MemoryLayout
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.