Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W29.2026 · 13–19 JulCore

Features

  • Frame-pointer support on RISC-V (s0/x8 as CFA). Tested on Spacemit X60; works with and without C frame pointers. Merged. (#14506)
  • {Option,Result}.try_value combinator: attempts a computation, falls back on failure. Open PR. (#14941)

Compatibility

  • caml_atomic_exchange, _cas, _fetch_add no longer emit redundant acquire/release fences on AArch64. The RMW is itself a full ordering point (RCsc). (#14936)
  • New GC-pacing algorithm tracks off-heap and ephemeron allocations. Open PR; custom-block accounting and test failures remain. (#14796)

Fixes

  • ocamlopt emits stlr for non-atomic stores on arm64, replacing dmb ishld; str. 4–50× faster on FEAT_LRCPC2 cores; auto-detects and falls back for Cortex-A53/A72. Merged. (#14922)
  • Functional record update copying an atomic field now performs an atomic load instead of a plain read. Open PR. (#14918)
  • Fiber cache gains a size limit to prevent unbounded growth during domain migration. Configurable via OCAMLRUNPARAM. Open PR; backport to 5.5 in progress. (#14940)
  • Runtime queries sysconf(_SC_MINSIGSTKSZ) at startup instead of compile-time SIGSTKSZ. Fixes fatal error on Alpine 3.24 (musl 1.2.6). (#14933)