| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| public static void | setSkipBFS(boolean skip)
If OldObjectSample event is enabled, calling this method ensures that BFS is not used when searching for path to GC root. |
| public static void | setWriteAllObjectSamples(boolean writeAllSamples)
If OldObjectSample event is enabled, calling this method ensures that all object samples are written, including short-lived objects. |
| skipBFS | back to summary |
|---|---|
| private static boolean skipBFS | |
| writeAllObjectSamples | back to summary |
|---|---|
| private static boolean writeAllObjectSamples | |
| WhiteBox | back to summary |
|---|---|
| public WhiteBox() | |
| getSkipBFS | back to summary |
|---|---|
| public static boolean getSkipBFS() | |
| getWriteAllObjectSamples | back to summary |
|---|---|
| public static boolean getWriteAllObjectSamples() | |
| setSkipBFS | back to summary |
|---|---|
| public static void setSkipBFS(boolean skip) If OldObjectSample event is enabled, calling this method ensures that BFS is not used when searching for path to GC root. Purpose of this method is to trigger code paths that are hard to provoke reliably in testing. | |
| setWriteAllObjectSamples | back to summary |
|---|---|
| public static void setWriteAllObjectSamples(boolean writeAllSamples) If OldObjectSample event is enabled, calling this method ensures that all object samples are written, including short-lived objects. Purpose of this method is to increase determinism in tests. | |