| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | fieldsLayoutAsString(Class<?> clazz)
Attempts to dump a layout of a class's fields in memory (offsets from base object pointer). |
| public static Unsafe | |
| public static String |
| BlackMagic | back to summary |
|---|---|
| public BlackMagic() | |
| fieldsLayoutAsString | back to summary |
|---|---|
| public static String fieldsLayoutAsString(Class<?> clazz) Attempts to dump a layout of a class's fields in memory (offsets from base object pointer).
| |
| getUnsafe | back to summary |
|---|---|
| public static Unsafe getUnsafe() Returns Unsafe if available or throw a RuntimeException. | |
| objectMemoryAsString | back to summary |
|---|---|
| public static String objectMemoryAsString(Object o) Attempts to dump physical object's memory as a string. | |