Skip to content
Success

Changes

Summary

  1. Gc.set incorrectly handles the three `custom_*` fields (#10125) (commit: 1b202ba) (details)
Commit 1b202ba3356c57c335a7dec2329214384b39919d by xavier.leroy
Gc.set incorrectly handles the three `custom_*` fields (#10125)

Some `Long_val` conversions were missing.

This was setting the wrong values for the `custom_` parameters,
causing the major GC to work too much, slowing down some programs.

Add regression test.

Fixes: #9326
(cherry picked from commit 78321e6ac59e18a54cd9209aa57012f8b47908c9)
(commit: 1b202ba)
The file was addedtestsuite/tests/regression/pr9326/gc_set.ml
The file was modifiedruntime/gc_ctrl.c (diff)
The file was modifiedChanges (diff)