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

YJIT: Let RubyVM::YJIT.enable respect --yjit-stats #9415

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Jan 4, 2024

As of adding RubyVM::YJIT.enable #8705, it respected --yjit-stats and it was the intended behavior. #9297 accidentally changed it to ignore --yjit-stats.

This PR lets RubyVM::YJIT.enable (no stats option) respect whether --yjit-stats is given or not. I also added a documentation about stats option.


I'll request a backport to ruby_3_3 once merged.

@matzbot matzbot requested a review from a team January 4, 2024 23:18
@maximecb maximecb merged commit 7f9c174 into ruby:master Jan 5, 2024
95 checks passed
@k0kubun k0kubun deleted the yjit-stats branch January 5, 2024 19:17
sorah added a commit to sorah-rbpkg/ruby that referenced this pull request Jan 17, 2024
github-merge-queue bot pushed a commit that referenced this pull request Feb 4, 2024
YJIT: Let RubyVM::YJIT.enable respect --yjit-stats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants