Skip to content

Conversation

@beauby
Copy link
Contributor

@beauby beauby commented Jan 30, 2025

When calling runWithGc() without a synchronizer, the global lock was released after each iteration, and never re-acquired.

The code path did not seem to be actively used, as it would systematically crash.

@beauby beauby force-pushed the fix-runwithgc branch 2 times, most recently from 04ac522 to fb085e2 Compare January 30, 2025 17:12
Copy link
Contributor

@mbouaziz mbouaziz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot that could be factored in these 4 branches

@beauby
Copy link
Contributor Author

beauby commented Jan 31, 2025

There's a lot that could be factored in these 4 branches

Agreed. IIUC @skiplabsdaniel is working on cleaning up those APIs. The scope of this PR is only to fix the glaring bug.

When calling `runWithGc()` without a `synchronizer`, the global lock
was released after each iteration, and never re-acquired.
@beauby beauby merged commit 4d7731c into SkipLabs:main Feb 7, 2025
7 of 8 checks passed
@beauby beauby deleted the fix-runwithgc branch February 7, 2025 07:30
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.

3 participants