Class TraceASTCompilationListener

java.lang.Object
com.oracle.truffle.runtime.AbstractGraalTruffleRuntimeListener
com.oracle.truffle.runtime.debug.TraceASTCompilationListener
All Implemented Interfaces:
OptimizedTruffleRuntimeListener

public final class TraceASTCompilationListener extends AbstractGraalTruffleRuntimeListener
Traces all polymorphic and generic nodes after each successful Truffle compilation.
  • Method Details

    • install

      public static void install(OptimizedTruffleRuntime runtime)
    • onCompilationSuccess

      public void onCompilationSuccess(OptimizedCallTarget target, AbstractCompilationTask task, com.oracle.truffle.compiler.TruffleCompilerListener.GraphInfo graphInfo, com.oracle.truffle.compiler.TruffleCompilerListener.CompilationResultInfo compilationResultInfo)
      Description copied from interface: OptimizedTruffleRuntimeListener
      Notifies this object when compilation of target succeeds.
      Parameters:
      target - the call target whose compilation succeeded
      task - the task
      graphInfo - access to compiler graph info
      compilationResultInfo - access to compilation result info