Features
-
New
OCAMLRUNPARAM=S=<size>controls the stack allocated byDomain.spawn. Addresses segfaults from large C stack frames in spawned domains. #14860 (merged) -
Proposed stdlib addition
Atomic.compare_and_exchange : 'a t -> expected:'a -> set:'a -> 'a. ~25% faster than an OCaml retry loop under contention. #14912 (open) -
arm64: replaces
dmb ishld; strwithstlr/stlurfor aligned word stores. New-flrcpc2/-fno-lrcpc2/-fbarrier-store/-fstore-releaseoptions; configure auto-detects FEAT_LRCPC2. #14922 (open) -
Full (non-partial) function calls bypass the
caml_applytrampoline. Benchmarks show ~25% runtime reduction on function-call-heavy code. #14925 (open)
Fixes
-
Sys.file_existson Windows: replacedstat_oswithGetFileAttributes. Fixes a Windows 11 24H2 kernel bug where results depended on another process's CWD. #14919 (merged) -
Filename.concatandFilename.dirnamenow treat:strictly as a volume separator.Filename.concat "C:\Foo:" "bar"yieldsC:\Foo:\bar. Targeted for 5.6. #14916 (merged) -
Eliding the occurs-check for freshly-instantiated type variables reduces compilation of the
js_of_ocamlreproducer from ~5 min to ~5 s. A companion change further reduces it to ~170 ms. #14913, #14927 (open)
Compatibility
{ r with j }on a record with[@atomic]fields compiles to a non-atomic load, violating the atomicity contract. The plan is to forbid such implicit loads, breaking code relying on current behaviour. #14918 (open)