Skip to content

Implement invokedynamic boundary dispatch for checked receiver elision#33

Merged
thisisalexandercook merged 25 commits into
eisop:mainfrom
thisisalexandercook:invoke-dynamic-boundary
May 12, 2026
Merged

Implement invokedynamic boundary dispatch for checked receiver elision#33
thisisalexandercook merged 25 commits into
eisop:mainfrom
thisisalexandercook:invoke-dynamic-boundary

Conversation

@thisisalexandercook
Copy link
Copy Markdown
Collaborator

This PR adds the first full invokedynamic boundary implementation for checked-to-checked method calls. Checked methods are split into wrapper and $runtimeframework$safe bodies, and eligible checked call sites are rewritten so checked receivers can bypass redundant wrapper parameter checks while unchecked receivers still route through the original method and receive fallback return checks.

The implementation covers virtual, interface, static, final, synchronized, bridge, abstract, inherited, and interface-default dispatch cases.

@thisisalexandercook thisisalexandercook merged commit 751c8fe into eisop:main May 12, 2026
1 check passed
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.

1 participant