Skip to content

Procedural macros make it hard to understand the core tracing #1356

@qinsoon

Description

@qinsoon

#575 and #934 introduces macros that generates boilerplate tracing code, including some key tracing functions, for each plan.

For people who are not familiar with the code base, the macros and the generated functions may result in difficulties in understanding how tracing works in MMTk.

We may just remove the use of procedural macros, and replace with equivalent hand-written tracing functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions