Skip to content

avoid overriding the user's OCAMLRUNPARAM settings#83

Open
gasche wants to merge 1 commit intotarides:mainfrom
gasche:avoid-overriding-OCAMLRUNPARAM
Open

avoid overriding the user's OCAMLRUNPARAM settings#83
gasche wants to merge 1 commit intotarides:mainfrom
gasche:avoid-overriding-OCAMLRUNPARAM

Conversation

@gasche
Copy link

@gasche gasche commented Mar 9, 2026

I wanted to use olly latency to measure the GC latency of a given program under different minor-heap-size settings. This does not work currently because olly overrides the OCAMLRUNPARAM variable. The present PR ensures that the OCAMLRUNPARAM value is extended rather than forgotten.

@gasche
Copy link
Author

gasche commented Mar 9, 2026

Note: I have not actually tested the control-flow path where the user sets OCAMLRUNPARAM and also sets the -log-wsize option. (In part because I'm not sure how to test it, it does not look supported by olly gc-stats.) But the path where olly does not set OCAMLRUNPARAM when log-wsize is not set already fixes the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant