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

[GCChecker] add support for tracking JL_NOTSAFEPOINT regions #47978

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Dec 23, 2022

We have regions of code that we either cannot (gcsafe_enter) or should not (locks) enter GC since it would cause data races or deadlocks. Teach the GCChecker how to analyze those state transitions.

@brenhinkeller brenhinkeller added the GC Garbage collector label Dec 23, 2022
We have regions of code that we either cannot (gcsafe_enter) or should
not (locks) enter GC since it would cause data races or deadlocks. Teach
the GCChecker how to analyze those state transitions.

Additionally, mark all functions inside files named 'llvm-*.*' as
not safepoints. This saves us some manual annotation effort.
@vtjnash vtjnash merged commit 4a42367 into master Jan 4, 2023
@vtjnash vtjnash deleted the jn/analyze-gcsafe-region branch January 4, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants