Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

May 2026

Monthly story not yet available.

W22.2026 · 25–31 MayCore

Fixes

OCaml compiler (merged): removes per-function Profile.record_call overhead when -dprofile, -dcounters, or -dtimings are inactive, yielding a 30% compile-time reduction on a 1000-function microbenchmark. #14832

OCaml runtime, major GC (merged): fixes ephemeron orphaning during Phase_sweep_ephe and clarifies num_domains_{todo,done} counter semantics, preventing dangling pointers when a domain terminates mid-cycle. #14734, #14733

OCaml Unix library, Win32 (merged): fixes socket_poll_add so Unix.select no longer raises "original file handle not found" or returns wrong descriptors when a socket appears in multiple fd lists. #14764, issue #14758

OCaml flambda (open): prevents an infinite inlining loop when a stub function is recursive; the inline-stub stack is cleaned at each non-stub inlining step. #14839, issue #14828

OCaml compiler, warning 60 (open): corrects the source location for unused-module warnings on non-aliasable module Bar := X.Foo substitutions, which previously pointed at the original declaration in a different .mli. #14831, issue #12745

Features

OCaml language (proposal, open): eta-expands argument-less constructor expressions in function-type contexts, enabling List.map Some [1;2;3] without new syntax; restricted to unary constructors in the current draft. #14803

OCaml runtime, GC pacing (open): replaces the existing pacing logic with a new algorithm; macro-benchmark sweeps show wall-time improvements across all tested s/o parameter combinations at a small RSS cost. #14796

OCaml runtime, minor GC (open): inlines the fast path of oldify_one and exposes major-heap free lists for inline allocation, targeting a 2–3% total runtime gain on promotion-heavy workloads. #14571