public interface CompilerProfiler
| Modifier and Type | Method and Description |
|---|---|
long |
getTicks()
Get current value of the profiler's time counter.
|
void |
notifyCompilerInlingEvent(int compileId,
ResolvedJavaMethod caller,
ResolvedJavaMethod callee,
boolean succeeded,
String message,
int bci)
Notifies JFR when the compiler considers inlining
callee into caller. |
void |
notifyCompilerPhaseEvent(int compileId,
long startTime,
String name,
int nestingLevel)
Notifies JFR when a compiler phase ends.
|
long getTicks()
void notifyCompilerPhaseEvent(int compileId,
long startTime,
String name,
int nestingLevel)
compileId - current computation unit idstartTime - when the phase startedname - name of the phasenestingLevel - how many ancestor phases there are of the phasevoid notifyCompilerInlingEvent(int compileId,
ResolvedJavaMethod caller,
ResolvedJavaMethod callee,
boolean succeeded,
String message,
int bci)
callee into caller.compileId - current computation unit idcaller - caller methodcallee - callee method considered for inlining into callersucceeded - true if callee was inlined into callermessage - extra information about inlining decisionbci - byte code index of call site