Backport ZULU-61542 to a BPR on Zing 24.02.100 Java 17
24.05.0.0
24.05.0.0
Release date: May 31, 2024
This PSU release is based on the Azul Zing Build of OpenJDK (Zing) 24.04.0.0 and corresponds to the following OpenJDK versions:
| Major Version | OpenJDK Version |
|---|---|
8 |
1.8.0_412-b4 |
11 |
11.0.23+9-LTS |
17 |
17.0.11+9-LTS |
21 |
21.0.3+9-LTS |
What’s New
-
April 2024 PSU release security fixes.
-
The default value of
-XX:ProfileStartupLimitInSecondshas changed from60to0. This follows from a previous change where0was changed from "infinite" to actually 0 seconds. For more information onProfileStartupLimitInSeconds, see Command Line Options, Advanced Miscellaneous Options. -
Azul Zing 24.05.0.0 implements some behavioral changes to the command line option
VMFootprintLevel. In order to reduce memory footprint, malloc arenas now use half the number of CPU cores when setting a non-default value ofVMFootprintLevel;L,M, orS -
The minimum value supported for Xms (initial heap size) was lowered drastically from 512 MB to 128 MB. Previously, the minimum supported Xms was 512 MB. The minimum supported Xmx (maximum heap size) remains unchanged at 512 MB. The purpose of this change is to reduce memory consumption from small utility processes which don’t require a high amount of memory.
NoteIn case Xms and Xmx are set to the same value, while setting Xms somewhere between 128 MB and 512 MB, both values are rounded up to 512 MB in order to satisfy the minimum allowable Xmx. -
Azul Zing 24.05.0.0 introduces a new command line option,
-XX:ThpDisable, which can be used to disable Transparent Huge Pages (THP) in the entire JVM process, even when system THP settings are enabled. When-XX:+ThpDisableis set, THP is turned off, overriding the system default. -
Azul Zing 24.05.0.0 is now able to collect Falcon diagnostics during OOM (Out of memory) errors.
-
Thread-local backoff for secondary_super_cache updates has been ported from OpenJDK, based on JDK-8316180 and is disabled by default. To enable this feature, use the option
-XX:SecondarySuperMissBackoff=1000. -
A new command line option,
OptimizeIdentityHashForDistributionhas been introduced in Zing 24.05.0.0. This option enables an alternate implementation for System.identityHashCode() which provides better distribution of objects at the cost of making the identity hash calculation itself slower. This option is disabled by default and can be enabled using-XX:+OptimizeIdentityHashForDistribution.
Resolved Issues
| Issue ID | Description |
|---|---|
ZVM-30696 |
|
ZVM-30695 |
Backport ZULU-61544 to a BPR on Zing 24.02.100 Java 17 |
ZVM-30653 |
Fix stack walker TTSP profiler that collects interpreter frame methods |
ZVM-30566 |
Local queue is not cleared when local fallback is disabled |
ZVM-30407 |
Linear search at LoaderProfileApplicator::has_recorded_load |