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

Minor clean up in symbol allocation and lookup #22012

Merged
merged 1 commit into from
May 23, 2017
Merged

Conversation

yuyichao
Copy link
Contributor

@yuyichao yuyichao commented May 22, 2017

  • Remove volatile.

    The thread safety is provided by atomics and not volatile

  • Update comment.

    We are now relying on the GC bits to be GC_OLD_MARKED in order to not update it's metadata
    similar to other ptrfree permgen objects allocations.

Also marking the acquire load as consume though it's unclear when it can get a implementable semantic in the C/C++ standard and be implemented differently from acquire in compilers....

* Remove `volatile`.

    The thread safety is provided by atomics and not volatile

* Update comment.

    We are now relying on the GC bits to be `GC_OLD_MARKED` in order to not update it's metadata
    similar to other ptrfree permgen objects allocations.
@yuyichao yuyichao added the multithreading Base.Threads and related functionality label May 22, 2017
@yuyichao yuyichao merged commit 41b8377 into master May 23, 2017
@yuyichao yuyichao deleted the yyc/threads/symbol branch May 23, 2017 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants