Repository activity
40458 results across all weeks
Runtime_events and exceptions from User event decoders
Török Edwin (@edwintorok)Runtime_events producer: missing bounds check on user event write
The following segfaults:
Török Edwin (@edwintorok)Runtime_events: raise exception when encode returns out of bounds value
Runtime_events.Type.register documents that the maximum value length is 1024 bytes.
Török Edwin (@edwintorok)Stop-the-world barriers take seconds on Windows when a domain repeatedly enters and leaves a blocking section
On Windows, a stop-the-world section can take five to ten seconds when domains that allocate run alongside even one domain that repeatedly enters and leaves a blocking section. Every domain is stopped for that time. The same program on Linux and macOS completes its barriers in a few hundredths of a second.
Daniel Larraz (@daniel-larraz)Various Runtime events documentation improvements
I've tried to clarify, simplify, and reuse existing terminology where possible. Each change is self contained and could land by itself, but it's easier to review as a whole.
Tim McGilchrist (@tmcgilchrist)Whole program dead code elimination
I propose in this PR to add another link mode to the ocamlopt compiler with flambda enabled.
Pierre Chambart (@chambart)[RFC] Float identity
In order to ensure that floats are unboxed, it is not uncommon for
Xavier Clerc (@xclerc)`[@@deprecated_unlabelled]` for gracefully deprecating unlabelled arguments
This PR proposes a new attribute [@@deprecated_unlabelled] (similar in spirit to [@@deprecated_mutable]). It can be used to annotate function signatures where a label has been added to one of the arguments:
Nicolás Ojeda Bär (@nojb)`include functor`
~~This PR is not yet ready for review as the implementation may still change substantially, depending on the final design that is chosen by the Language Committee.~~
Olivier Nicole (@OlivierNicole)`with module type` precedence
The following two constructs have different precedence rules for = and :=, and are parsed differently:
314eterfeat(typing): add support for optional polymorphic parameters
Encode optional polymorphic parameters as Tpoly (ty option, vars).
Alistair (@johnyob)improve the Domain.DLS documentation
The current documentation of Domain.DLS is minimalistic:
Gabriel Scherer (@gasche)invalid unwind info in ocamlopt binaries in the stack reallocation path
Hi. So last few months I was working on new backtrace library (http://github.com/gperftools/aw-backtrace). As part of that effort I built a program (https://github.com/gperftools/unwind-check) that compares unwind info with actual effect of instructions and currently flags perhaps ~every function in ocamlopt itself and other binaries produced by it.
Aliaksei Kandratsenka (@alk)manual: clarify that a character literal denotes a single byte
Closes #15082.
Abhay Chaudhary (@Abhayindia)ocamldebug protocol clamps headers to 32 bits
In the context of looking at ocamldebug support for Introcaml, I stumbled upon this issue: the ocamldebug request for the header of a given remote object (through the REQ_GET_HEADER or 'H' request) uses a format that only transfers 32 bits (the input_binary_int Stdlib function, along with the caml_putword C function).
Vincent Laviron (@lthls)ocamldebug: send full headers when requested.
Fixes #15012 by implementing (my interpretation of) @xavierleroy's suggestion.
Vincent Laviron (@lthls)runtime: drop redundant memory-model fences around atomic RMWs on AArch64
caml_atomic_exchange/_cas/_fetch_add wrap a sequentially-consistent atomic
Sebastian Pop (@sebpop)runtime_events: do not let a user decoder exception escape read_poll
Fixes #15072.
Abhay Chaudhary (@Abhayindia)testsuite/tests/afl-instrumentation always fails if AFL is installed but OCaml is not configured with --with-afl
Xavier Leroy (@xavierleroy)testsuite: skip AFL fuzz test without instrumentation
afl-fuzz-test.ml should run only for a compiler configured with AFL instrumentation.
akashchamp