-
Notifications
You must be signed in to change notification settings - Fork 5.3k
JIT: Devirtualize non-shared generic virtual methods #122023
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
Changes from 39 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
fbff8d6
Rename wasArrayInterfaceDevirt to needsMethodContext
hez2010 729b269
Devirtualize generic virtual methods
hez2010 5c15b23
Disable GVM devirt for AOT
hez2010 6e678a5
Unblock late devirt as well
hez2010 c488b84
Set single-def
hez2010 0ca8b93
Address feedbacks
hez2010 b396d26
Merge branch 'main' into gvm-devirt-2
hez2010 0ac9d6d
Meh
hez2010 8976d4a
JIT format
hez2010 8d0845e
JIT format again
hez2010 1d389f1
Check methHndArg
hez2010 217c9f2
Rework how inst param being embedded
hez2010 4b64c2e
Bail out GVM devirt in managed type system instead
hez2010 e8668a1
Remove the out-dated comments
hez2010 951c4ea
JIT format
hez2010 a1d605f
generic context is not always needed
hez2010 a941aec
Check isInstantiatingStub for the necessity of generic method context
hez2010 9dd04f0
Minor refactor
hez2010 e84df69
Use the wrapper entrypoint instead of the instantiating stub
hez2010 17392c0
JIT format
hez2010 9847c97
Always use instantiatingStub
hez2010 7896ef5
Properly handle shared generics on both class and method
hez2010 905b11d
Update comments
hez2010 ff217cc
Merge branch 'main' into gvm-devirt-2
hez2010 521965e
Add tests to cover all kinds of generic virtual methods
hez2010 51a8026
Merge branch 'main' into gvm-devirt-2
hez2010 3b0a0fd
Apply suggestions from code review
hez2010 6815bff
Test improvements
hez2010 2ad226e
Merge branch 'main' into gvm-devirt-2
hez2010 c765506
Address review feedbacks
hez2010 2e1c733
Address another feedback
hez2010 e52fb65
Bump JIT-EE interface version
hez2010 9603022
Address an assertion
hez2010 ac3b74c
Rename to needsMethodContext
hez2010 ed99ebc
Never return an instantiation stub
hez2010 babad30
Do not create an instantiating stub
hez2010 036e446
Merge branch 'main' into gvm-devirt-2
hez2010 e22692c
Always set needsMethodContext and isInstantiatingStub to false
hez2010 d2af9f4
Merge branch 'main' into gvm-devirt-2
hez2010 40d7569
Merge branch 'main' into gvm-devirt-2
hez2010 7b4c2c8
Address the crossgen2 assertion
hez2010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.