-
Notifications
You must be signed in to change notification settings - Fork 759
[FFI/JDK22] Handle the discontiguous heap array in downcall #19263
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
[FFI/JDK22] Handle the discontiguous heap array in downcall #19263
Conversation
[1] The PR leverages the code in |
Reviewer: @tajila |
2171583
to
67fcdd3
Compare
46d5f6a
to
453d97e
Compare
453d97e
to
3f10fc1
Compare
The changes aim to address the case of discontiguous heap array in the critical downcall by copying the heap array to a native memory given the passed-in array in the native function must be a contiguous one for native access. Related: eclipse-openj9#17872 Signed-off-by: ChengJin01 <[email protected]>
3f10fc1
to
fe4c358
Compare
jenkins test sanity pinux jdk22 |
jenkins test sanity plinux jdk22 |
jenkins test sanity zlinux jdk22 |
jenkins test sanity win jdk8 |
jenkins test sanity aix jdk22 |
The changes aim to address the case of discontiguous heap
array in the critical downcall by copying the heap array
to a native memory given the passed-in array in the native
function must be a contiguous one for native access.
Related: #17872
Signed-off-by: ChengJin01 [email protected]