Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a closing event for when EV_MAJOR_EPHE_MARK is complete #12583

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

Sudha247
Copy link
Contributor

This is a minor fix to add a missing closing runtime event for EV_MAJOR_EPHE_MARK. I discovered this while debugging tarides/runtime_events_tools#20. I gave this a spin with olly trace on one of the ephemeron tests (ephe_test.ml) in the testsuite - it appears this patch has fixed this non-terminating event.

The trace produced by 5.1.0 rendered on ui.perfetto.dev:

before

The trace produced by 5.1.0 + this PR:

after

Please note that I ran the tests on 5.1.0 along with the commit in this PR. This was necessary because 'olly' depends on ppx, and support for ppx on the trunk is not available yet (afaict).

Copy link
Member

@gasche gasche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks clearly correct, thanks! A git grep seems to suggest that it was the only BEGIN call not paired with an END call somewhere in the source.

@gasche
Copy link
Member

gasche commented Sep 19, 2023

This probably wants a Changes entry ("Bug fixes"?) for future users of old versions of the language that will want to know whether/when the bug that they observe has been fixed in more recent versions.

@gasche gasche merged commit ccb75bf into ocaml:trunk Sep 19, 2023
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants