abcl icon indicating copy to clipboard operation
abcl copied to clipboard

Explorations in adding atomic compare and swap

Open easye opened this issue 2 years ago • 2 comments

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

https://github.com/armedbear/abcl/issues/92

easye avatar Jun 28 '23 15:06 easye

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?

crmsnbleyd avatar Dec 27 '24 06:12 crmsnbleyd

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.

easye avatar Dec 27 '24 12:12 easye