public final class CompilationStatistics extends Object
Modifier and Type | Class and Description |
---|---|
private static interface |
CompilationStatistics.NotReported |
private static interface |
CompilationStatistics.TimeValue |
Modifier and Type | Field and Description |
---|---|
private int |
bytecodeCount |
private int |
codeSize |
private static ThreadLocal<Deque<CompilationStatistics>> |
current |
private static CompilationStatistics |
DUMMY |
private long |
duration |
private static boolean |
ENABLED |
private String |
holder |
private static ConcurrentLinkedDeque<CompilationStatistics> |
list |
private long |
memoryUsed |
private String |
name |
private boolean |
osr |
private static long |
RESOLUTION |
private String |
signature |
private long |
startTime |
private long |
threadAllocatedBytesStart |
private static long |
zeroTime |
Modifier | Constructor and Description |
---|---|
private |
CompilationStatistics(HotSpotResolvedJavaMethod method,
boolean osr) |
Modifier and Type | Method and Description |
---|---|
static void |
clear(String dumpName) |
static CompilationStatistics |
create(HotSpotResolvedJavaMethod method,
boolean isOSR) |
static CompilationStatistics |
current() |
protected static void |
dumpCompilations(ConcurrentLinkedDeque<CompilationStatistics> snapshot,
String dumpName,
String dateString) |
void |
finish(HotSpotResolvedJavaMethod method,
HotSpotInstalledCode code) |
private static long |
getThreadAllocatedBytes() |
private static final long RESOLUTION
private static final boolean ENABLED
private static final CompilationStatistics DUMMY
private static ConcurrentLinkedDeque<CompilationStatistics> list
private static final ThreadLocal<Deque<CompilationStatistics>> current
private static long zeroTime
private final long startTime
private long threadAllocatedBytesStart
private int bytecodeCount
private int codeSize
private long duration
private long memoryUsed
private final boolean osr
private CompilationStatistics(HotSpotResolvedJavaMethod method, boolean osr)
private static long getThreadAllocatedBytes()
public void finish(HotSpotResolvedJavaMethod method, HotSpotInstalledCode code)
public static CompilationStatistics current()
public static CompilationStatistics create(HotSpotResolvedJavaMethod method, boolean isOSR)
protected static void dumpCompilations(ConcurrentLinkedDeque<CompilationStatistics> snapshot, String dumpName, String dateString) throws IllegalAccessException, FileNotFoundException