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

Explorations in adding atomic compare and swap #602

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

Conversation

easye
Copy link
Collaborator

@easye easye commented Jun 28, 2023

VarHandles were introduced in openjdk9, so the code needs to be conditionalized somehow. It is currently being developed on openjdk17.

#92

VarHandles were introduced in openjdk9, so the code needs to be
conditionalized somehow.  It is currently being developed on
openjdk17.

<armedbear#92>
@easye easye force-pushed the atomix/20230628a branch from 04bd305 to 2a88f22 Compare June 29, 2023 09:01
@crmsnbleyd
Copy link

is there anything blocking this? maybe this can be added as a package and throw an error on load if jdk is detected as lower than 9?

@easye
Copy link
Collaborator Author

easye commented Dec 27, 2024

Not sure this code really does what we want for CAS, so at a minimum we should develop some tests.

As for conditionalizing the load we need a proposed implementation that is also tested.

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.

2 participants