|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.utils.MemoryFootprint
public class MemoryFootprint
Calculate the memory footprint of various objects.
| Constructor Summary | |
|---|---|
MemoryFootprint()
|
|
| Method Summary | |
|---|---|
static long |
getObjectSize(java.lang.Object o)
Get the number of bytes required for the given object. |
static void |
main(java.lang.String... a)
Run just this test. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryFootprint()
| Method Detail |
|---|
public static void main(java.lang.String... a)
a - ignoredpublic static long getObjectSize(java.lang.Object o)
o - the object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||