Skip to content

jinx fix for hot loops#922

Merged
pkova merged 1 commit intodevelopfrom
dozreg/jinx-loop
Nov 25, 2025
Merged

jinx fix for hot loops#922
pkova merged 1 commit intodevelopfrom
dozreg/jinx-loop

Conversation

@dozreg-toplud
Copy link
Copy Markdown
Contributor

Apparently SIGVTALRM does not happen soon enough if we are producing %jinx hints in a hot loop, like:

|-  ~>  %jinx.~s1  $

With "strange timer" printouts the runtime would stall, trying to print a ton of stale timers. Even without the printouts stale deadlines would get ignored, causing the virtual timer to be set with a new timeout, so the signal would never come.

Now we noop if we encounter at least one stale timer, unlike previously, when we would noop if all timers were stale.

@dozreg-toplud dozreg-toplud requested a review from a team as a code owner November 24, 2025 17:40
@dozreg-toplud dozreg-toplud requested a review from pkova November 24, 2025 17:41
@pkova pkova merged commit 93f1f89 into develop Nov 25, 2025
2 checks passed
@pkova pkova deleted the dozreg/jinx-loop branch November 25, 2025 12:44
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.

2 participants