Skip to content

Add a "show_jit" keyword-only parameter to dis.dis to show ENTER_EXECUTOR instructions #150478

@markshannon

Description

@markshannon

Feature or enhancement

When trying to understand the behavior of the JIT, we have sys._dump_tracelets to dump a visual (graphviz) representation of the current trace graph, but it impossible to see where the tracelets/executors are attached to the bytecode.
Currently dis.dis hides ENTER_EXECUTOR instructions, even when adaptive is set.
We should add a "show_jit" parameter to dis.dis to show ENTER_EXECUTOR instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.16new features, bugs and security fixestopic-JITtype-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions