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

Position acquire/release methods #316

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pveentjer
Copy link
Contributor

@pveentjer pveentjer commented Jan 19, 2025

For every ordered method, a release method was added. Every ordered method forwards to a release method. So there is a slight performance penalty to pay for the ordered methods.

The ordered methods are from an old naming schema. Since Java 9, the 'release' naming is the used schema.

Also an getAcquire has been added, since release methods typically should be used with an acquire.

For every ordered method, a release method was added. Every ordered
method forwards to a release method.

Also an getAcquire has been added, since release methods typically
should be used with an acquire.
@pveentjer pveentjer changed the title Position acquire/release methods. Position acquire/release methods Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant