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

Merge jdk8u392-b05 and the latest OpenJ9 changes to 0.41 #697

Merged
merged 23 commits into from
Sep 18, 2023

Conversation

pshipton
Copy link
Member

No description provided.

Xin Liu and others added 23 commits August 24, 2023 17:49
… extra field"

Reviewed-by: phh, serb, andrew
Backport-of: 248778d27a5f8a16e4c90a4f5a6632a7ca8e9a89
…l errors

Reviewed-by: andrew
Backport-of: e03c2a270b291e7b1edcf4df491d6d386a882a87
The cipher initialization cost has been found to be computationally
expensive, especially in the OpenSSL 3.x API.

In order to optimize the cost of using OpenSSL to perform consecutive
AES/GCM encryption and decryption operations, two flags are set and
passed as parameters.

The first flag indicates whether a different cipher is required for the
upcoming operations (i.e., the key size has changed). If that is the
case, a cipher is initialized and set to the provided context. If not,
those steps are omitted, thus reducing the time required for the
operation.

The second flag indicates whether the IV length has changed and is used
in a similar way as the first flag.

The rest of the steps required for the operation are performed
regardless of the flags.

The handling of freeing arrays that were part of that functionality is,
also, updated to comply with the newer approach to cleanup code.

Signed-off by: Kostas Tsiounis <kostas.tsiounis@ibm.com>
To match OpenJ9, look in the options.default file, JAVA_TOOL_OPTIONS,
IBM_JAVA_OPTIONS, and -Xoptionsfile= on the command line.

Issue eclipse-openj9/openj9#16105
Backport of ibmruntimes/openj9-openjdk-jdk#657

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Parse -Xmso from more locations
Optimize AES/GCM cipher and IV initialization and improve array cleanup code
This makes jdk8 consistent with jdk11.

Issue eclipse-openj9/openj9#18127

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Use the system zlib on platforms other than Windows
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
If the current branch matches the pattern of a release branch, fetch
openj9/omr branches of the same name.

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Output -Xmso debug info when _JAVA_LAUNCHER_DEBUG is set
Modify get_source.sh to automatically fetch release branches
jdk/test/java/util/zip/DeInflate.java

Issue eclipse-openj9/openj9#12740
and eclipse-openj9/openj9#18143

Backport of ibmruntimes/openj9-openjdk-jdk11#408

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
In test, increase deflate buffer size for zlinux Ubuntu 20
Signed-off-by: J9 Build <j9build@ca.ibm.com>
Signed-off-by: J9 Build <j9build@ca.ibm.com>
With the recent preference for --with-zlib=system (see ibmruntimes#692), we need
to back-port

* 8140223: fix the build with a toolchain with a linker defaulting
  to ld --as-needed

I'm not sure why builds succeed on RHEL, but they fail on Ubuntu.

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@JasonFengJ9 JasonFengJ9 merged commit 3fc7674 into ibmruntimes:v0.41.0-release Sep 18, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants