Skip to content
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] Pass the heap segments to native in downcall #18930

Conversation

ChengJin01
Copy link

@ChengJin01 ChengJin01 commented Feb 9, 2024

The changes aim to pass the heap arguments
to native when the linker option intended
for the critical downcall is specified.

Fixes: #18939

Note:
The feature implemented in this PR is specified
in JEP454/JDK22 at #17872 .

Signed-off-by: ChengJin01 jincheng@ca.ibm.com

@ChengJin01
Copy link
Author

Reviewer: @tajila
FYI: @keithc-ca, @pshipton

ChengJin01 pushed a commit to ChengJin01/aqa-tests that referenced this pull request Feb 9, 2024
The change enables the FFI specific test suites in JDK22+
given the issue with the heap arguments is resolved
via eclipse-openj9/openj9#18930.

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
LongyuZhang pushed a commit to adoptium/aqa-tests that referenced this pull request Feb 9, 2024
The change enables the FFI specific test suites in JDK22+
given the issue with the heap arguments is resolved
via eclipse-openj9/openj9#18930.

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch 4 times, most recently from ca4d7fd to 680469f Compare February 10, 2024 19:03
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch 5 times, most recently from 39486a5 to 59ac785 Compare February 14, 2024 14:35
@dmitripivkine
Copy link
Contributor

@amicic FYI

@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch from 59ac785 to 3ddfd2a Compare February 15, 2024 04:36
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch from 3ddfd2a to 54280a9 Compare February 15, 2024 20:30
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch from 54280a9 to e196001 Compare February 16, 2024 16:45
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch from e196001 to 7b5b08a Compare February 16, 2024 21:43
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch from 7b5b08a to fcd32fd Compare February 20, 2024 19:38
The changes aim to pass the heap arguments
to native when the linker option intended
for the critical downcall is specified.

Note:
The feature implemented in this PR is specified 
in JEP454/JDK22 at eclipse-openj9#17872

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_critical_pass_heap_to_native_jdk22_v2 branch from fcd32fd to 7780020 Compare February 20, 2024 21:33
@keithc-ca
Copy link
Contributor

Jenkins test sanity amac jdk21,jdk22

@keithc-ca
Copy link
Contributor

@tajila Could you please approve this?

@keithc-ca keithc-ca merged commit c2f032c into eclipse-openj9:master Feb 21, 2024
7 checks passed
ChengJin01 pushed a commit to ChengJin01/aqa-tests that referenced this pull request Feb 23, 2024
The changes enable the heap related test suites in JDK22+
given the problems with the tests are resolved via:
[1] eclipse-openj9/openj9#18930
[2] eclipse-openj9/openj9#19002

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
llxia pushed a commit to adoptium/aqa-tests that referenced this pull request Feb 23, 2024
The changes enable the heap related test suites in JDK22+
given the problems with the tests are resolved via:
[1] eclipse-openj9/openj9#18930
[2] eclipse-openj9/openj9#19002

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
@pshipton
Copy link
Member

This and #19002 need to be double delivered to the v0.44.0-release branch.

@ChengJin01
Copy link
Author

ChengJin01 commented Feb 23, 2024

This and #19002 need to be double delivered to the v0.44.0-release branch.

The PR is created at #19008.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jdk22 java/foreign/critical/TestCritical.java Heap segment not allowed
5 participants