-
Notifications
You must be signed in to change notification settings - Fork 722
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
[FFI/JDK22] Pass the heap segments to native in downcall #18930
Conversation
The PR has been verified with the internal & OpenJ9 test suites, including the Jtreg test suite (related to the heap arguments) for JDK22 at https://github.com/ibmruntimes/openj9-openjdk-jdk22/tree/master/test/jdk/java/foreign/critical: |
Reviewer: @tajila |
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>
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
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>
ca4d7fd
to
680469f
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
test/functional/Java22andUp/src/org/openj9/test/jep454/downcall/InvalidDownCallTests.java
Outdated
Show resolved
Hide resolved
test/functional/Java22andUp/src/org/openj9/test/jep454/downcall/PrimitiveTypeTests1.java
Show resolved
Hide resolved
test/functional/Java22andUp/src/org/openj9/test/jep454/downcall/PrimitiveTypeTests2.java
Show resolved
Hide resolved
test/functional/Java22andUp/src/org/openj9/test/jep454/downcall/StructTests2.java
Show resolved
Hide resolved
test/functional/Java22andUp/src/org/openj9/test/jep454/upcall/InvalidUpCallTests.java
Outdated
Show resolved
Hide resolved
680469f
to
c0b39e6
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/UpcallMHMetaData.java
Outdated
Show resolved
Hide resolved
39486a5
to
59ac785
Compare
@amicic FYI |
59ac785
to
3ddfd2a
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
3ddfd2a
to
54280a9
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
54280a9
to
e196001
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
e196001
to
7b5b08a
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Outdated
Show resolved
Hide resolved
7b5b08a
to
fcd32fd
Compare
jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java
Show resolved
Hide resolved
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>
fcd32fd
to
7780020
Compare
Jenkins test sanity amac jdk21,jdk22 |
@tajila Could you please approve this? |
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>
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>
This and #19002 need to be double delivered to the v0.44.0-release branch. |
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