Skip to content

Pre-mark classes as shareable #14288

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhawthorn
Copy link
Member

Classes are supposed to be always shareable. It's better for us to eagerly allocate them this way, otherwise we end up unsafely concurrently mutating their flags.

cc @ko1

Classes are supposed to be always shareable. It's better for us to
eagerly allocate them this way, otherwise we end up unsafely
concurrently mutating their flags.
Copy link

launchable-app bot commented Aug 20, 2025

Tests Failed

✖️no tests failed ✔️62268 tests passed(1 flake)

@ko1
Copy link
Contributor

ko1 commented Aug 21, 2025

Thank you!!

I already has completely same patch with newly introducing macro, so could you wait for it?
I'll merge it in a week.

@jhawthorn
Copy link
Member Author

Sure! It's no problem to wait. This solves a TSAN error, but to my knowledge isn't yet causing wider issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants