|
| 1 | +<!-- |
| 2 | +* Copyright (c) 2017, 2025 IBM Corp. and others |
| 3 | +* |
| 4 | +* This program and the accompanying materials are made |
| 5 | +* available under the terms of the Eclipse Public License 2.0 |
| 6 | +* which accompanies this distribution and is available at |
| 7 | +* https://www.eclipse.org/legal/epl-2.0/ or the Apache |
| 8 | +* License, Version 2.0 which accompanies this distribution and |
| 9 | +* is available at https://www.apache.org/licenses/LICENSE-2.0. |
| 10 | +* |
| 11 | +* This Source Code may also be made available under the |
| 12 | +* following Secondary Licenses when the conditions for such |
| 13 | +* availability set forth in the Eclipse Public License, v. 2.0 |
| 14 | +* are satisfied: GNU General Public License, version 2 with |
| 15 | +* the GNU Classpath Exception [1] and GNU General Public |
| 16 | +* License, version 2 with the OpenJDK Assembly Exception [2]. |
| 17 | +* |
| 18 | +* [1] https://www.gnu.org/software/classpath/license.html |
| 19 | +* [2] https://openjdk.org/legal/assembly-exception.html |
| 20 | +* |
| 21 | +* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0 |
| 22 | +--> |
| 23 | + |
| 24 | +# What's new in version 0.56.0 |
| 25 | + |
| 26 | +The following new features and notable changes since version 0.55.0 are included in this release: |
| 27 | + |
| 28 | +- [New binaries and changes to supported environments](#binaries-and-supported-environments) |
| 29 | +- [Change in the `getCpuLoad()` method return value based on the platform](#change-in-the-getcpuload-method-return-value-based-on-the-platform) |
| 30 | + |
| 31 | +## Features and changes |
| 32 | + |
| 33 | +### Binaries and supported environments |
| 34 | + |
| 35 | +Eclipse OpenJ9™ release 0.56.0 supports OpenJDK 8, 11, 17, 21, and 25. |
| 36 | + |
| 37 | +To learn more about support for OpenJ9 releases, including OpenJDK levels and platform support, see [Supported environments](openj9_support.md). |
| 38 | + |
| 39 | +### Change in the `getCpuLoad()` method return value based on the platform |
| 40 | + |
| 41 | +In all platforms except z/OS®, if the `-XX:+CpuLoadCompatibility` option is set to enable the OpenJDK behavior of the `getProcessCpuLoad()` and `getCpuLoad()` methods in OpenJ9, the `getCpuLoad()` method now collects two internal samples so that a valid CPU usage value can be returned instead of `0` return value on the first call. |
| 42 | + |
| 43 | +On z/OS, the CPU load that is reported by the `getCpuLoad` method is obtained directly from the system control blocks, without the need to collect samples. The `-XX:[+|-]CpuLoadCompatibility` option has no effect on z/OS, and a valid CPU usage value is always returned whatever be the setting of this option. |
| 44 | + |
| 45 | +For more information, [`-XX:[+|-]CpuLoadCompatibility`](xxcpuloadcompatibility.md). |
| 46 | + |
| 47 | +## Known problems and full release information |
| 48 | + |
| 49 | +To see known problems and a complete list of changes between Eclipse OpenJ9 v0.55.0 and v0.56.0 releases, see the [Release notes](https://github.com/eclipse-openj9/openj9/blob/master/doc/release-notes/0.56/0.56.md). |
| 50 | + |
| 51 | +<!-- ==== END OF TOPIC ==== version0.56.md ==== --> |
0 commit comments