public class HeapUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HeapUtils.CompletionElement |
Constructor and Description |
---|
HeapUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
analyzeDiff(java.util.function.Supplier<Object> factory) |
static long |
analyzeDiff(java.util.function.Supplier<Object> factory,
boolean verbose) |
static long |
analyzeDiff(java.util.function.Supplier<Object> factory,
boolean verbose,
String dumpsFolder) |
static void |
forEachInstance(org.netbeans.lib.profiler.heap.JavaClass javaClass,
java.util.function.Consumer<org.netbeans.lib.profiler.heap.Instance> consumer) |
static Iterable<org.netbeans.lib.profiler.heap.Field> |
getFields(org.netbeans.lib.profiler.heap.JavaClass javaClass) |
static org.netbeans.lib.profiler.heap.Instance |
getNestedValue(org.netbeans.lib.profiler.heap.Instance instance,
String... path) |
static byte[] |
getPrimitiveArrayBytes(org.netbeans.lib.profiler.heap.PrimitiveArrayInstance instance) |
static char[] |
getPrimitiveArrayChars(org.netbeans.lib.profiler.heap.PrimitiveArrayInstance instance) |
static String |
getStringValue(org.netbeans.lib.profiler.heap.Instance instance) |
static boolean |
isSameClass(org.netbeans.lib.profiler.heap.Instance instance,
String className) |
static void |
walk(org.netbeans.lib.profiler.heap.Instance instance,
FieldProcessor processor) |
public static boolean isSameClass(org.netbeans.lib.profiler.heap.Instance instance, String className)
public static String getStringValue(org.netbeans.lib.profiler.heap.Instance instance)
public static byte[] getPrimitiveArrayBytes(org.netbeans.lib.profiler.heap.PrimitiveArrayInstance instance)
public static char[] getPrimitiveArrayChars(org.netbeans.lib.profiler.heap.PrimitiveArrayInstance instance)
public static void forEachInstance(org.netbeans.lib.profiler.heap.JavaClass javaClass, java.util.function.Consumer<org.netbeans.lib.profiler.heap.Instance> consumer)
public static Iterable<org.netbeans.lib.profiler.heap.Field> getFields(org.netbeans.lib.profiler.heap.JavaClass javaClass)
public static org.netbeans.lib.profiler.heap.Instance getNestedValue(org.netbeans.lib.profiler.heap.Instance instance, String... path)
public static void walk(org.netbeans.lib.profiler.heap.Instance instance, FieldProcessor processor)
public static long analyzeDiff(java.util.function.Supplier<Object> factory) throws IOException
IOException
public static long analyzeDiff(java.util.function.Supplier<Object> factory, boolean verbose) throws IOException
IOException
public static long analyzeDiff(java.util.function.Supplier<Object> factory, boolean verbose, String dumpsFolder) throws IOException
IOException
Copyright © GigaSpaces.