Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MJIT: Trigger compaction when the queue is empty #7777

Merged
merged 1 commit into from Jun 2, 2023

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Apr 30, 2023

This is a PR for ruby_3_2 branch.

#6900 accidentally removed a condition to trigger JIT compaction, which was supposed to be resurrected later. This PR resurrects it and allows MJIT to trigger compaction again. The old throttle_threshold no longer works due to missing unload_units, so it introduces compact_units_length-based throttling instead.

[Bug #19625]

@k0kubun k0kubun requested a review from nurse April 30, 2023 19:45
@nagachika nagachika merged commit 08bf3bc into ruby:ruby_3_2 Jun 2, 2023
87 of 89 checks passed
@k0kubun k0kubun deleted the mjit-compact branch June 2, 2023 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants