Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Gradual reservation of minor heap adresses

    This PR proposes a fix for #14153 . Instead of reserving minor-heap address space for 128 domains at once, it start by reserving enough address space for 1 domain, then 8, 16, 32, 64, etc. This is useful for programs that want to use large minor heaps, and run in environments that refuse large address space reservations. (Apparently Rocq is hit by this limit…

    Gabriel Scherer (@gasche)
  2. IssueW45.2026 · 2–8 Novocaml/ocaml

    Hashtbl.filter_map_inplace can leave a negative length

    Hashtbl.filter_map_inplace decrements size before the cell is unlinked, so a raise from f leaves length smaller than the number of bindings still in the table:

    KC Sivaramakrishnan (@kayceesrk)
  3. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Head shapes and constructor unboxing

    This PR implements a variant of the "constructor unboxing" feature proposed by Jeremy Yallop (@yallop) in RFC #14 in March 2020, which extends the current [@@unboxed] annotation for single-constructor variant types (or single-field record types). A first experimental implementation of this feature was done Nicolas Chataing (@nchataing) in Summer 2021. I reba…

    Gabriel Scherer (@gasche)
  4. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Implicit source positions

    See ocaml/RFCs#52.

    Olivier Nicole (@OlivierNicole)
  5. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Improve `CAMLthread_local` definition for C/C++ interoperability

    For symbols with external linkage, care must be taken for C⁠+⁠+ interoperability.

    Antonin Décimo (@MisterDA)
  6. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Improve handling of stupidly large input files in the backend

    This PR makes some of the key backend passes tail-recursive, at least in the Iop case.

    Vincent Laviron (@lthls)
  7. IssueW45.2026 · 2–8 Novocaml/ocaml

    Lazy.Mutexed.force leaks its mutex on an asynchronous exception

    Lazy.Mutexed.force leaves the mutex locked if an asynchronous exception arrives after the thunk has returned, so the value is lost and the lazy is permanently wedged.

    KC Sivaramakrishnan (@kayceesrk)
  8. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Make Seq.cycle create a cyclic sequence

    Make Seq.cycle create a cyclic sequence rather than an infinite sequence.

    Jeremy Yallop (@yallop)
  9. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Make warning 8 (partial-match) fatal by default in ocamlc and ocamlopt

    Fixes https://github.com/ocaml/ocaml/issues/12475

    Kate (@kit-ty-kate)
  10. IssueW45.2026 · 2–8 Novocaml/ocaml

    Mapped bigarrays serialize but cannot be read back

    A bigarray returned by Unix.map_file can be marshalled, but reading the result back raises Failure. Found with DeepSeek v4.1 Flash 1017. On 5.5.0, macOS arm64:

    KC Sivaramakrishnan (@kayceesrk)
  11. IssueW45.2026 · 2–8 Novocaml/ocaml

    Mark stack is not empty when the last domain terminates

    When the last domain terminates with an ephemeron whose live data exceeds the 100,000-word force-alive budget, the debug runtime aborts in caml_teardown_major_gc.

    KC Sivaramakrishnan (@kayceesrk)
  12. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Multiple ephemeron bug fixes

    This is a port of oxcaml/oxcaml#7876 which resulted from an adversarial agentic review of the ephemeron code (done after porting recent ephemeron fixes from OCaml to OxCaml in oxcaml/oxcaml#7874). Of the problems found, these four also affect OCaml. Apologies for the verbosity of this PR description (which I have tried to keep brief); the code changes are mu…

    Nick Barnes (@NickBarnes)
  13. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    New GC-pacing logic

    This is the implementation of https://github.com/damiendoligez/gc-pacing .

    Damien Doligez (@damiendoligez)
  14. IssueW45.2026 · 2–8 Novocaml/ocaml

    No thread preemption in a child after fork

    In a program that has already started a thread, Unix.fork leaves the child unable to switch threads:

    KC Sivaramakrishnan (@kayceesrk)
  15. ReleaseW45.2026 · 2–8 Novocaml/ocaml

    OCaml 4.14.5

    Bug fixes release with 6 security fixes, and 2 ordinary bug fixes:

    Florian Angeletti (@Octachron)
  16. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    POWER: convert int<->float with direct VSX moves instead of memory

    Hello!

    Zane Hambly (@Zaneham)
  17. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    POWER: read a single CR field with mfocrf when materializing a compare

    Hello!

    Zane Hambly (@Zaneham)
  18. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    POWER: use subf instead of subfc for subtraction and modulo

    Hello!

    Zane Hambly (@Zaneham)
  19. IssueW45.2026 · 2–8 Novocaml/ocaml

    Private Dynlink load hides a nested public load

    A bytecode plugin loaded with Dynlink.loadfile_private can load another plugin publicly. The nested initialiser runs, but a later plugin cannot resolve its globals. This reproduces on trunk f0c1023333, macOS arm64. Found with the assistance of an LLM.

    KC Sivaramakrishnan (@kayceesrk)
  20. IssueW45.2026 · 2–8 Novocaml/ocaml

    Record update reads `[@atomic]` fields with a plain load

    A record update copies an [@atomic] field with a plain load, while a direct read of the same field is atomic:

    KC Sivaramakrishnan (@kayceesrk)