public interface CompilationListener
| Modifier and Type | Method and Description |
|---|---|
DebugContext.CompilerPhaseScope |
enterPhase(CharSequence name,
int nesting)
Notifies this listener that the compiler is starting a compiler phase.
|
void |
notifyInlining(ResolvedJavaMethod caller,
ResolvedJavaMethod callee,
boolean succeeded,
CharSequence message,
int bci)
Notifies this listener when the compiler considers inlining
callee into
caller. |
DebugContext.CompilerPhaseScope enterPhase(CharSequence name, int nesting)
name - the name of the phaseDebugContext.CompilerPhaseScope.close() method will be called when the
phase completesvoid notifyInlining(ResolvedJavaMethod caller,
ResolvedJavaMethod callee,
boolean succeeded,
CharSequence message,
int bci)
callee into
caller.caller - 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