public class DebugValuesPrinter extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
DebugValuesPrinter.DebugValueScope
Tracks the scope when printing a
DebugValueMap, allowing "empty" scopes to be
omitted. |
| Constructor and Description |
|---|
DebugValuesPrinter() |
| Modifier and Type | Method and Description |
|---|---|
private long |
collectTotal(List<DebugValueMap> maps,
int index) |
private void |
flattenChildren(DebugValueMap map,
DebugValueMap globalMap) |
void |
printDebugValues() |
private static void |
printIndent(int level) |
private void |
printMap(DebugValuesPrinter.DebugValueScope scope,
List<DebugValue> debugValues) |
private void |
printSummary(List<DebugValueMap> topLevelMaps,
List<DebugValue> debugValues) |
public DebugValuesPrinter()
public void printDebugValues() throws JVMCIError
JVMCIErrorprivate void flattenChildren(DebugValueMap map, DebugValueMap globalMap)
private void printSummary(List<DebugValueMap> topLevelMaps, List<DebugValue> debugValues)
private long collectTotal(List<DebugValueMap> maps, int index)
private void printMap(DebugValuesPrinter.DebugValueScope scope, List<DebugValue> debugValues)
private static void printIndent(int level)