Skip to content

[GR-66389] Add InterceptJSInvokeNodes in WasmGC backend #11468

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

Merged
merged 2 commits into from
Jun 25, 2025

Conversation

graalvmbot
Copy link
Collaborator

Without them, functional interfaces passed to JavaScript could have their method not generated, making them not callable from JavaScript

This also reimplements ReflectUtil#findBaseMethodsOfJSAnnotated
It is now significantly faster (~200ms -> ~30ms) and simpler than before. Instead of looping through all classes, simply looks up all @js annotated methods and gathers the methods they override.

Without them, functional interfaces passed to JavaScript could have
their method not generated, making them not callable from JavaScript
Is significantly faster (~200ms -> ~30ms) and simpler than before.
Instead of looping through all classes, simply looks up all @js
annotated methods and gathers the methods they override.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 25, 2025
@graalvmbot graalvmbot merged commit 7ba4d14 into master Jun 25, 2025
13 checks passed
@graalvmbot graalvmbot deleted the pz/GR-66389-sam-analysis branch June 25, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants