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

Fix task suspension in GC for JL_TIMING #52005

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

topolarity
Copy link
Member

The timing system does not currently support nesting task suspensions, so this JL_TIMING_SUSPEND_TASK added in #51489 is not permitted since it is called from within the GC suspension.

This was causing Tracy to crash upon recording with "zone ended twice"

The timing system does not currently support nesting task suspensions,
so this `JL_TIMING_SUSPEND_TASK` added in JuliaLang#51489 is not permitted since
it is called from within the GC suspension.

This was causing Tracy to crash upon recording with "zone ended twice"
Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

Thanks for fixing that

@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Nov 2, 2023
@KristofferC KristofferC merged commit 1a4a3a0 into JuliaLang:master Nov 3, 2023
7 of 9 checks passed
@topolarity topolarity deleted the ct/fix-timing branch November 3, 2023 14:57
@oscardssmith oscardssmith added bugfix This change fixes an existing bug and removed merge me PR is reviewed. Merge when all tests are passing labels Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug profiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants