298c4f8c32
This commit introduces API for AtomicIntArray, AtomicLongArray and AtomicArray<T>. The current set of functions is implemented via atomic arrays intrinsics (see KT-58360) and provides sequentially consistent memory ordering guarantees and no spurious failures in compareAndSet/compareAndExchange operations. For details see: KT-60608 Merge-request: KT-MR-11071 Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>