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: Use rb_ivar_get at the end of ivar chains #7334

Merged
merged 2 commits into from Feb 17, 2023

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Feb 17, 2023

As mentioned in #7298, this PR adds a rb_ivar_get call at the end of a getivar chain. getivar_megamorphic is currently the largest exit reason of SFR, and this change should address it.

@matzbot matzbot requested a review from a team February 17, 2023 18:04
yjit/src/stats.rs Outdated Show resolved Hide resolved
@k0kubun k0kubun merged commit 034d5ee into ruby:master Feb 17, 2023
@k0kubun k0kubun deleted the yjit-chain-end branch February 17, 2023 20:44
casperisfine pushed a commit to Shopify/ruby that referenced this pull request May 25, 2023
* YJIT: Use rb_ivar_get at the end of ivar chains

* Rename the counter to get_ivar_max_depth
jhawthorn pushed a commit to github/ruby that referenced this pull request Sep 8, 2023
* YJIT: Use rb_ivar_get at the end of ivar chains

* Rename the counter to get_ivar_max_depth
casperisfine pushed a commit to Shopify/ruby that referenced this pull request Sep 20, 2023
* YJIT: Use rb_ivar_get at the end of ivar chains

* Rename the counter to get_ivar_max_depth
jhawthorn pushed a commit to github/ruby that referenced this pull request Sep 28, 2023
* YJIT: Use rb_ivar_get at the end of ivar chains

* Rename the counter to get_ivar_max_depth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants