Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW46.2026 · 9–15 Novocaml/ocaml

    Major GC never completes a cycle after a failed `Domain.spawn`

    If domain_create fails after caml_init_major_gc has succeeded, for example because the minor heap arena cannot be committed, Domain.spawn raises Failure and from then on no major cycle completes. Gc.full_major () does not return and the major heap grows without bound.

    KC Sivaramakrishnan (@kayceesrk)
  2. Pull requestW46.2026 · 9–15 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)
  3. IssueW46.2026 · 9–15 Novocaml/ocaml

    Malformed .cmi crashes ocamlobjinfo

    ocamlobjinfo segfaults on a malformed .cmi. Reproduced on trunk f0c1023333 with the in-tree bytecode tools.

    KC Sivaramakrishnan (@kayceesrk)
  4. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    New GC-pacing logic

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

    Damien Doligez (@damiendoligez)
  5. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Optimize Weak.blit into ephemerons with many keys

    I made a comment on #15033 about this, but since that is merged figured it would be more efficient to just send a PR.

    Josh Berdine (@jberdine)
  6. Pull requestW46.2026 · 9–15 Novocaml/ocaml

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

    Hello!

    Zane Hambly (@Zaneham)
  7. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Re-implement weak hashsets using open-addressing with linear probing.

    The Weak.Make module of the standard library provides "weak hashsets", sets of elements that are only kept alive if something else in the program keeps them alive. The typical use-case is to implement hash-consing: whenever building a new term, look for an equivalent term that would already be in the hashset and use it instead, increasing memory sharing. Has…

    Gabriel Scherer (@gasche)
  8. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Reject extension on module-dependent functor type domain

    The Ptyp_functor production parsed an ext_attributes for the module domain but used only the attribute list, silently dropping the extension part (the %ext in (module%ext M : S) -> t).

    hhugo
  9. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Runtime events corrupt stream

    Fixes #14151.

    Tim McGilchrist (@tmcgilchrist)
  10. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Runtime events late shutdown

    caml_do_exit destroyed the runtime_events ring buffers before the rest of the shutdown sequence ran, so anything emitted after that point was discarded. This PR moves the teardown to the last place where it can still run, which:

    Tim McGilchrist (@tmcgilchrist)
  11. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Sanitize the build environment

    A further extension of the quick fix in #14914 ~~(which this PR sits on top of)~~.

    David Allsopp (@dra27)
  12. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Scanf: respect field width of %S when scanning escapes

    When Scanf encounters a %dS format (d is an integer, the "field with"), it reads the string with a counter for how many characters of the field width are left. It stops when the counter reaches exactly 0. Ordinary characters take the counter down by one each, but escape sequences are several characters long and reduce the counter by their whole length in one…

    Nicolás Ojeda Bär (@nojb)
  13. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Speed up pool_sweep

    Speed up pool_sweep: the hot loop of major GC sweeping: Hoist loop invariants, batch stats, track the ends of free runs. Measured with #15280 on my dev box, this makes sweeping go about 20% faster.

    Nick Barnes (@NickBarnes)
  14. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Stops assuming float array arguments are floats in flambda lifting (Fix #15212)

    This fixes https://github.com/ocaml/ocaml/issues/15212

    Pierre Chambart (@chambart)
  15. IssueW46.2026 · 9–15 Novocaml/ocaml

    Str.replace_matched reads past the end of a shorter string

    Str.replace_matched builds the replacement from the match offsets of the last search without checking them against the length of the string it is given. On a string shorter than the match, the copy reads past the end of the string and the result contains whatever follows it on the heap.

    KC Sivaramakrishnan (@kayceesrk)
  16. IssueW46.2026 · 9–15 Novocaml/ocaml

    String.take_first and String.take_last ignore min_int

    String.take_first and String.take_last return the whole string for min_int, and String.drop_last returns "". The interface says n <= 0 gives "" for the take functions and s for drop_last.

    KC Sivaramakrishnan (@kayceesrk)
  17. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Test the mingw-w64 port on GitHub Actions instead of AppVeyor

    This PR adds a GitHub Actions job to test the mingw64 build.

    Nicolás Ojeda Bär (@nojb)
  18. IssueW46.2026 · 9–15 Novocaml/ocaml

    Total matches with redundant cases containing or and when clauses may cause fatal error

    Note: these examples were found with claude

    Stefan Muenzel (@smuenzel)
  19. IssueW46.2026 · 9–15 Novocaml/ocaml

    Unix.map_file with O_APPEND on Linux runs into libc bug in `pwrite`: SIGBUS

    On Linux pwrite is documented to have a bug when invoked in a file descriptor opened with O_APPEND:

    Török Edwin (@edwintorok)
  20. Pull requestW46.2026 · 9–15 Novocaml/ocaml

    Update the platform support table in the README

    OmniOS is just an Illumos distribution. Other Illumos-based distributions also work just fine. I've personally tested OpenIndiana on bare-metal hardware without any problem in the compiler itself (see https://github.com/ocaml/opam/pull/7226)

    Kate (@kit-ty-kate)