mirror of
https://github.com/corda/corda.git
synced 2025-02-10 04:41:35 +00:00
Unsafe.compareAndSwapLong was moved from classpath-openjdk.cpp to builtin.cpp, but the fieldForOffset helper function was not, which only caused problems when I tried to build for ARM. This commit moves said helper function, along with Unsafe.getVolatileLong, which also uses it.