-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FFI/Jtreg_JDK21] Detect the downcall linker option in upcall
The changes aim to capture the linker option intended for the trivial downcall during the upcall given the option is only used to enable the trivial downcall without upcall involved. Fixes: #17820 Note: The changes with related test cases cover two aspects separately: [1] remove the VMAccess in the downcall for the benefit of the JIT. [2] capture the invalid linker option in upcall dispatcher and throw out the exception after jumping back to the downcall site. Signed-off-by: ChengJin01 <[email protected]>
- Loading branch information
ChengJin01
committed
Jul 27, 2023
1 parent
ecfd805
commit 5929664
Showing
18 changed files
with
247 additions
and
233 deletions.
There are no files selected for viewing
220 changes: 81 additions & 139 deletions
220
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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.