File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -475,6 +475,9 @@ Working version
475475
476476### Bug fixes:
477477
478+ - #12712, #12742: fix an assertion boundary case in `caml_reset_young_limit`
479+ (Jan Midtgaard, review by Guillaume Munch-Maccagnoni)
480+
478481- #10652, #12720: fix evaluation order in presence of optional arguments
479482 (Jacques Garrigue, report by Leo White, review by Vincent Laviron)
480483
Original file line number Diff line number Diff line change @@ -1618,7 +1618,7 @@ void caml_interrupt_all_signal_safe(void)
16181618 races. */
16191619void caml_reset_young_limit (caml_domain_state * dom_st )
16201620{
1621- CAMLassert ((uintnat )dom_st -> young_ptr > (uintnat )dom_st -> young_trigger );
1621+ CAMLassert ((uintnat )dom_st -> young_ptr >= (uintnat )dom_st -> young_trigger );
16221622 /* An interrupt might have been queued in the meanwhile; the
16231623 atomic_exchange achieves the proper synchronisation with the
16241624 reads that follow (an atomic_store is not enough). */
You can’t perform that action at this time.
0 commit comments