FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ivarSet missing return after megamorphic fallback by kares · Pull Request #9425 · jruby/jruby · GitHub

/ jruby Public

ivarSet missing return after megamorphic fallback - #9425

Merged
headius merged 1 commit into
jruby:masterfrom
kares:megamorphic-return
May 8, 2026
Merged

ivarSet missing return after megamorphic fallback#9425
headius merged 1 commit into
jruby:masterfrom
kares:megamorphic-return

Conversation

kares commented May 8, 2026

Copy link
Copy Markdown
Member

observed with debug (using log.binding)

before the fix, a megamorphic site logged"failed (polymorphic)" followed by a "bound directly" for the same type.

seems to me like this isn't intentional esp. given the ivarGet logic ends up returning after invokedynamic.maxpoly is reached...

headius left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

You are correct. This logic could be cleaned up (and hopefully will be soon).

headius added this to the JRuby 10.1.1.0 milestone May 8, 2026
headius merged commit 19467a7 into jruby:master May 8, 2026
108 of 109 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL