Skip to content

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
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants