Java

Java

Java

Topics on Semeru (Java) on IBM Z

 View Only

Porting Java applications to 64-bit on z/OS

By Joran Siu posted Wed September 04, 2024 10:46 AM

  

Unlike Java 8, IBM Semeru Runtime Certified Edition for z/OS 11 and newer are available in 64-bit addressing-mode only. Pure Java code is addressing-mode agnostic and will run on either 31-bit or 64-bit Java SDKs. However, your application may contain native non-Java 31-bit portions invoked via Java Native Interface (JNI) that require porting to 64-bit, in order to run with the latest Semeru SDKs. While the porting of native code to 64-bit requires some effort, here are some references to help you embark on the journey:

General principles and considerations to port applications to 64-bit

This will be the most performant and scalable option, as your native code can take advantage of the above-the-bar virtual storage, along with streamlined 64-bit XPLINK linkages.

Support for 31-bit native library interoperability with 64-bit SDK for Java

This feature allows 31-bit single-threaded applications to still invoke 64-bit Java code, and is useful for the scenarios where existing native code has dependencies on 31-bit only interfaces and/or require more effort to port to 64-bit.

Middleware considerations

Various middleware products manage the Java runtime environment, and can be optionally configured to use 64-bit SDK for Java.

0 comments
21 views

Permalink