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

[WIP] Use new Agrona release functions #1748

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

Conversation

pveentjer
Copy link
Contributor

@pveentjer pveentjer commented Feb 21, 2025

These functions replace the Ordered functions. E.g. AtomicCounter.setLongOrdered is now AtomicCounter.setLongRelease. The release and ordered functions have exactly the same memory semantics.

Relies on Agrona 2.1.0.

This PR will not contain any relaxations of memory ordering behavior like the new opaque methods; it is purely switching from ordered to release methods.

In a follow up PR these relaxations can be implemented.

@pveentjer pveentjer changed the title [WIP]] Switched to the new Agrona release functions. [WIP] Switched to the new Agrona release functions. Feb 21, 2025
@pveentjer pveentjer requested a review from vyazelenko February 21, 2025 12:26
These functions replace the Ordered functions.
@pveentjer pveentjer force-pushed the improvement/use-agrona-release-functions branch from 140626d to 5643eab Compare February 21, 2025 13:39
@pveentjer pveentjer changed the title [WIP] Switched to the new Agrona release functions. [WIP] Switch to the new Agrona release functions Feb 21, 2025
@pveentjer pveentjer changed the title [WIP] Switch to the new Agrona release functions [WIP] Use new Agrona release functions Feb 21, 2025
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.

1 participant