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) |
alignpublic UnsafeLayout()
int headerSize()
headerSize in class ClassSize.MemoryLayoutint arrayHeaderSize()
arrayHeaderSize in class ClassSize.MemoryLayoutint oopSize()
ClassSize.MemoryLayoutoopSize in class ClassSize.MemoryLayoutlong sizeOfByteArray(int len)
sizeOfByteArray in class ClassSize.MemoryLayoutCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.