public class MemoryUtils extends Object
| Constructor and Description |
|---|
MemoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
enableMemoryProfile() |
static void |
printMemoryTest()
Prints a memory test debug statement to stdout.
|
static void |
printMemoryTest(String tag)
Prints a memory test debug statement to stdout
with a tag to reference
Requires memory printing to be enabled, otherwise
is a no-op
|
static void |
printMemoryTest(String tag,
int pause)
Prints a memory test debug statement to stdout
with a tag to reference.
|
static void |
profileMemory()
Experimental.
|
static void |
revertTerning() |
static void |
stopTerning() |
public static void stopTerning()
public static void revertTerning()
public static void enableMemoryProfile()
public static void printMemoryTest()
public static void printMemoryTest(String tag)
tag - public static void printMemoryTest(String tag, int pause)
tag - pause - public static void profileMemory()
Copyright © 2022. All rights reserved.