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

[runtime] Fix locking issues while accessing MonoClass bitfields. #4275

Merged
merged 1 commit into from Jan 20, 2017

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Jan 20, 2017

No description provided.

@vargaz vargaz merged commit 906ed41 into mono:master Jan 20, 2017
@vargaz vargaz deleted the fix-class-locking branch January 20, 2017 08:28
@kumpera
Copy link
Contributor

kumpera commented Jan 20, 2017

A better fix would be to remove all mutable bitfield fields and replace them with regular scalars where the read-modify-write is explicit and CAS-able.

@vargaz
Copy link
Contributor Author

vargaz commented Jan 20, 2017

True, but writing flags & HAS_CCTOR instead of has_cctor is somewhat painful.

@kumpera
Copy link
Contributor

kumpera commented Jan 22, 2017

no pain, no gain. 😉

picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
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.

None yet

3 participants