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

Port java.util.concurrent.atomic.Atomic*FieldUpdaters from JSR-166 #3148

Conversation

WojciechMazur
Copy link
Contributor

  • Port Integer, Long, Reference field updaters form JSR-166 without reflection-based implementation and its accessor (static newUpdater method)
  • Ports tests and use SN intrinsic based updaters implemantions

Intrinsic-based implementation can be in the future moved to separate cross-platform library using macros/inlines to allow for generic usage field updaters.
This change is required to support scala.collection.concurrent.TrieMap

@WojciechMazur WojciechMazur merged commit a714666 into scala-native:main Feb 8, 2023
@WojciechMazur WojciechMazur deleted the feature/multithreading-juca-field-updaters branch February 8, 2023 17:43
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

1 participant