Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Disable contification of stubs

    This was arguably wrong before but will definitely be wrong once #6037 lands (see also #6037 (review) )

    Basile Clément (@bclement-ocp)
  2. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Do naive dependency graph merging in the -reaper-solve entrypoint

    The -reaper-solve entry point now reads dependency graphs from input .cmr files and unions them, but without getting rid of the unknown use/source indicators at module boundaries.

    Miriam Vellacott (@mirivella)
  3. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Do not serialize Cached_level.t

    We currently serialize a Cached_level.t as part of the Typing_env.serializable, but we actually only care about its name_to_types field.

    Basile Clément (@bclement-ocp)
  4. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Don't store sorts for function returns

    Don't store sorts of function returns in the typed AST, and instead compute the return layouts in lambda. Necessary for any for function returns.

    dkalinichenko-js
  5. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Emit DWARF call site information

    This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.

    Mark Shinwell (@mshinwell)
  6. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Enable phantom lets by default

    This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.

    Mark Shinwell (@mshinwell)
  7. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Encode DWARF_BREF_OFFSET as signed SLEB128 value

    Reopening #6021 as requested @dra27-js

    Tim McGilchrist (@tmcgilchrist)
  8. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Experiments with loop optimisations

    This is a vibecoded experiment based on #5810 which has had very little scrutiny thus far.

    Mark Shinwell (@mshinwell)
  9. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Faulting safepoints (rework of #2463)

    Change each poll point to a double load which will memory fault (SIGSEGV, or SIGBUS on MacOS) when the domain is interrupted. A signal handler recognises such a poll point and turns it into an appropriate GC-entry function call. Saves 6-12 bytes per poll point on AMD64, 12-16 bytes on ARM64; this is ~1% of code size for ocamlopt.opt. The interrupt latency is…

    Nick Barnes (@NickBarnes)
  10. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Filter nested ikind provenance explanations per axis

    Stacked on #6262.

    julesjacobs
  11. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Filter out all arguments to runtime C functions in oxcaml dwarf tests

    These tests flake quite a lot when hacking on the runtime, and I presume we don't intend to test LLDB's handling of C functions.

    Stephen Dolan (@stedolan)
  12. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Finalize variable (`any`-field) representations at translation instead of typechecking

    Records and variants containing any store variable representations (e.g. Record_variable) on their type declarations, which we refine to a fixed representation when typechecking a use of such a record. However, in doing so, we currently default any unfilled sort variables to scannable, preventing them from later being inferred to be something else.

    Ryan Tjoa (@rtjoa)
  13. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix a GC pacing bug with large off-heap data

    When there's a lot of off-heap garbage created (relative to the GC heap size), a huge amount of GC work is incurred. Sometimes, this work is more than needed to complete a whole GC cycle and persists for future cycles, causing too much GC to be done overall.

    Stephen Dolan (@stedolan)
  14. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix bug involving effects, callbacks and locals

    This is a fix for a tricky GC bug where roots are scanned with the wrong local arenas, since the local C roots need not all come from the same fiber (as the code currently assumes).

    Stephen Dolan (@stedolan)
  15. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix failing debug assertion

    This assertion assumed that if a stack size is not power-of-two multiple of the default fiber stack size (because it did not match any of the cache buckets), it must be larger than the largest stack cache bucket.

    Max Slater (@TheNumbat)
  16. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix leak: Tail-calling local returning function

    Currently, mode-crossing is applied when enforcing a lower bound on the result of an application. As a result, the following program is allowed:

    ainageorges
  17. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix placement of lifted constants relative to alias-analysis rebinding lets

    Description

    Mark Shinwell (@mshinwell)
  18. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix stack growth use-after-free

    caml_tick_fiber_res runs tick handlers on the current stack, which (when stack checks are in use) may grow the current stack. The stack pointer in the outermost recursive call corresponds to the current stack, so may be invalidated. We can fix this by reloading the pointer from the domain state.

    Max Slater (@TheNumbat)
  19. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Fix: track record locality when assigning atomic fields

    Fixes internal ticket 7649.

    Joe Kerrigan (@joe-kerrigan)
  20. Pull requestW33.2026 · 10–16 Augoxcaml/oxcaml

    Flip default for shapes

    This PR flips the default format for shapes. This impacts several aspects:

    Simon Spies (@spiessimon)