This issue is a duplicate of review comment https://github.com/ocaml/ocaml/pull/10831#discussion_r781324239. At https://github.com/ocaml/ocaml/blob/1546e1f86f87485637719c86d92f32df9292997f/runtime/memory.c#L156, it should be `memory_order_relaxed` instead of `memory_order_release`.
This issue is a duplicate of review comment #10831 (comment).
At
ocaml/runtime/memory.c
Line 156 in 1546e1f
memory_order_relaxedinstead ofmemory_order_release.