Re:Implementing, Abstracting and Benchmarking Lightweight Th...
by heavenlyhash on Thursday February 06, 2014 @04:14PM
(#7192980)
It's possible to perform compare-and-swaps in java just like it is in C. They compile right down to the same primitives that flip bits in metal: you'll get CMPXCHGL instructions (using x86_64 as an example) from the jvm just as you will from gcc.
[ Parent
| on HN ]