Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W24.2026 · 8–14 JunCore

Features

  • OCAMLRUNPARAM gains an S setting (e.g. S=50M) to configure per-domain stack size. Addresses stack overflows in C FFI code on spawned domains. (open, #14860)

  • Weak.iter, Weak.iteri, Weak.foldi_left iterate live slots in a weak array. foldi_left is a C primitive avoiding one heap allocation per live element. (open, #14792)

  • Extensible IO channels implement the modular IO RFC, adding user-defined in/out channels alongside existing C channels (renamed "native"). Under stdlib-team review. (open, #14775)

Fixes

  • Corrects an inverted lazy-tag comparison in mark_header that caused memory corruption and SEGVs in multi-domain programs using laziness. Merged; not backported to 5.5. #14856

  • Filename.quote_command now fully escapes redirection arguments on Windows, closing a command-injection vector via Sys.command. Merged; backport to 5.5 proposed. #14853

  • Fixes an uncaught exception when tfunctor arguments appear in expansion nodes. Also restores type abbreviations involving module-dependent types in copy_sep. Merged. #14845

  • Replaces the C call path for Iatomic_fetch_add with inline assembly on amd64, arm64, riscv, and power. Targets multi-domain performance; the C path remains faster in single-domain mode. (open, #14575)

  • A Gc.finalise_last registered in an object initializer block captures self implicitly, creating a reference cycle that blocks collection. Workaround: wrap the finalizer in a standalone function. (open, #14861)