-
Notifications
You must be signed in to change notification settings - Fork 77
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
Update FFI specific code for compilation in JDK21 #598
Update FFI specific code for compilation in JDK21 #598
Conversation
…GraphicsPrimitiveMgr Reviewed-by: serb, aivanov
Reviewed-by: dholmes
…Client::close Reviewed-by: jpai, djelinski
…view) Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org> Co-authored-by: Jorn Vernee <jvernee@openjdk.org> Co-authored-by: Paul Sandoz <psandoz@openjdk.org> Co-authored-by: Feilong Jiang <fjiang@openjdk.org> Co-authored-by: Per Minborg <pminborg@openjdk.org> Reviewed-by: erikj, jvernee, vlivanov, psandoz
Reviewed-by: clanger, mbaesken
Reviewed-by: epeter, jbhateja, thartmann
… statically linking JDK/VM natives with standard launcher Reviewed-by: alanb
Reviewed-by: serb, azvegint
Reviewed-by: darcy
…erflowException where IndexOutOfBoundsException expected Reviewed-by: alanb
…anguage locale. Reviewed-by: jlu, iris, joehw
Reviewed-by: iris
Copied j9cfg.h & omrcfg.h into $(SUPPORT_OUTPUTDIR)/modules_include/java.base. Signed-off-by: Jason Feng <fengj@ca.ibm.com>
Reviewed-by: bchristi
Reviewed-by: naoto, lancea
Recognize OpenJ9 flags in openjdk jcl natives
Signed-off-by: Jason Feng <fengj@ca.ibm.com>
Conflicts: src/java.base/share/classes/java/lang/foreign/VaList.java src/java.base/share/classes/jdk/internal/foreign/CABI.java src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/windows/WindowsAArch64VaList.java src/java.base/share/classes/jdk/internal/foreign/abi/riscv64/linux/LinuxRISCV64CallArranger.java src/java.base/share/classes/jdk/internal/foreign/abi/riscv64/linux/LinuxRISCV64VaList.java src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java test/jdk/java/foreign/NativeTestHelper.java test/jdk/java/foreign/TestClassLoaderFindNative.java test/jdk/java/foreign/TestVarArgs.java test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java test/jdk/java/foreign/valist/VaListTest.java test/jdk/java/text/testlib/IntlTest.java Modified: src/java.base/share/classes/jdk/internal/foreign/Utils.java Signed-off-by: Jason Feng <fengj@ca.ibm.com>
Signed-off-by: Jason Feng <fengj@ca.ibm.com>
Note:
|
Reviewer: @keithc-ca |
31956ba
to
b30770f
Compare
src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java
Outdated
Show resolved
Hide resolved
src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java
Outdated
Show resolved
Hide resolved
src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java
Outdated
Show resolved
Hide resolved
src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java
Show resolved
Hide resolved
src/java.base/share/classes/jdk/internal/foreign/layout/ValueLayouts.java
Outdated
Show resolved
Hide resolved
676c35e
to
e6a2173
Compare
Note: The modifications in code are based on the new APIs in JDK21 & JEP442 as mentioned at eclipse-openj9/openj9#16951. Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
e6a2173
to
50ee730
Compare
Jenkins compile all jdknext depends eclipse-openj9/openj9#17352 |
The compilation failure was detected at https://openj9-jenkins.osuosl.org/job/Build_JDKnext_x86-64_linux_Personal/66/consoleText and https://openj9-jenkins.osuosl.org/job/Build_JDKnext_s390x_linux_Personal/88/consoleText due to the missing method
which was introduced recently via #604 which was not yet added to the @JasonFengJ9, could you help add your changes at #604 to your branch at https://github.com/JasonFengJ9/openj9-openjdk-jdk/tree/mergetmp? I will rebase with your updated code from there. |
@ChengJin01 It might be simpler to just cherry-pick f68f90b into your branch. |
Agreed, @ChengJin01 let me know if the initial merging PR rebase is still needed. |
It doesn't help as my branch was created on top of https://github.com/JasonFengJ9/openj9-openjdk-jdk/tree/mergetmp in which case the expected changes at f68f90b don't show up in the history/annotation list for cherry-pick. |
You might pull latest |
Added InetAddress.clearInetAddressCache() to be invoked by CRIU post-restore hook via JavaNetInetAddressAccess(). Signed-off-by: Jason Feng <fengj@ca.ibm.com>
I've cherry-picked the changes at f68f90b#diff-bcf494d3974af1421572e5bf8d544e4949a90eacb34c4fcbc4e4668a0a89da6b from the |
Jenkins compile all jdknext depends eclipse-openj9/openj9#17352 |
Fix race condition when creating the native pointer for an EC key
The changes update FFI specific code by disabling/removing
part of our code to pass the compilation in JDK21.
Note:
The modifications in code are based on the new APIs in JDK21 & JEP442
as mentioned at eclipse-openj9/openj9#16951.
Signed-off-by: ChengJin01 jincheng@ca.ibm.com