Package com.oracle.truffle.api.bytecode.debug
package com.oracle.truffle.api.bytecode.debug
Debug utilities for the Bytecode DSL. These features are not intended to be used in production
interpreters for performance reasons.
- Since:
- 24.2
-
ClassDescriptionBase interface for a bytecode root node to get additional debug event that are normally not available.Implement this class to quickly get some debug output for events in the bytecode node.Instruction tracer that records per-opcode execution counts and optionally aggregates them into hierarchical histograms by user defined group clauses.Builder for
HistogramInstructionTracer.A grouping function that maps aBytecodeNode, the currentThread, and the compilation tier to an arbitrary grouping key.Represents a hierarchical histogram that can group instruction counts by arbitrary attributes.AnInstructionTracerimplementation that prints a textual trace of executed bytecode instructions.Builder forPrintInstructionTracerinstances.