Repository activity
40458 results across all weeks
Fix printing of mixed blocks in native toplevel
Mixed block printing in the native toplevel is quite broken, as it doesn't account for reordering.
Ryan Tjoa (@rtjoa)Fix quadratic block splitting during register allocation
While investigating #7209, I ran into another accidentally-quadratic behaviour in the backend.
Stephen Dolan (@stedolan)Fix relocation constraints (arm64)
We have seen builds failing because of
Xavier Clerc (@xclerc)Fix two typos in flambda2 inlining reports
I was confused by the flambda2 inlining reports. It turns out that there's a couple of typos in the printing logic so the inlining report is not an exact log of the decisions. (These typos don't affect the actual decisions, which are fine, just the printed report)
Stephen Dolan (@stedolan)Flambda: simplify comparisons against integer min/max values
This pull request adds a couple of rewrites
Xavier Clerc (@xclerc)Gc.major_slice N advances GC if N > 0, even in idle
Since the introduction of the GC idle phase, for some programs, calling Gc.major_slice any number of times, with any slice size, might not advance the GC (without any allocation taking place, the incurred-work counter would not advance, and the completed-work counter would never overtake it, so it might never reach the min_before_mark level and escape the id…
Nick Barnes (@NickBarnes)Guard pages on ARM64
Adding guard pages (and therefore --disable-stack-checks) to ARM64.
Nick Barnes (@NickBarnes)Improve runtime events during opportunistic GC work.
We currently don't generate runtime events appropriately during opportunistic GC work, because each spin wait may run many very small slices, and each generates several events, so the runtime events ring buffer was flooded with them. Prior to this PR, it was possible to turn on these events by setting the GC log level SLICE bit. IMO that was an ugly hack.
Nick Barnes (@NickBarnes)Lpoly v-0
Jack Rickard (@Skepfyr)Make Format and Dynarray internals cross statefulness and visibility
dkalinichenko-jsMake ocamldep depend on ocamlcommon only
Moving a couple of files from ocamlfrontend to ocamlcommon means ocamldep need not depend on the former, making it about 2.5x smaller.
Stephen Dolan (@stedolan)Make stateless the default modality of stdlib interfaces
dkalinichenko-jsMeasure the speed of marking, sweeping and compaction
We often discuss the speed of GC sweeping, or marking, or compaction. This test uses the runtime events system to measure it. When run automatically as part of the test suite, it uses a relatively small heap and fails if any of the speeds are catastrophically bad. If you run it manually from the shell you can set the heap size and run duration, and it report…
Nick Barnes (@NickBarnes)Merlin emits jkind error with unknown history
When we compile this repro.ml,
ericlovesmath (@ericlovesmath)Miscellaneous improvements/fixes for the LTO version of the reaper
This PR adds a couple of remaining fixes that are required for the link-time optimization version of the reaper to work. It should not be merged as is and, instead, requires a little bit more work.
Simon Spies (@spiessimon)Mode Polymorphism Demo
This PR combines various existing PRs into a working mode polymorphism demo.
ainageorgesMore complete type inference with `eval` and concrete types
Motivation
Jakub Bachurski (@jbachurski)More refactoring of sexp printing functions
This builds up on #4767 to use the new printing functions from Misc.Sexp to replace a lot of hand-written print functions.
Guillaume Bury (@Gbury)Moregen fast path
Representative benchmarks hit the fast path 70% of the time (or more). Variants are not currently handled by the fast path, as the row machinery is complex. There is room to expand some of the kind and mode checks (like a "fast mode crossing" path); right now, we bail out.
Zack Eisbach (@zackbach)Only use guard pages for currently-active stacks
Enable millions of fibers without stack checks.
Nick Barnes (@NickBarnes)