|
| 1 | +<!-- |
| 2 | +* Copyright (c) 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 | +# Eclipse OpenJ9 version 0.50.0 release notes |
| 25 | + |
| 26 | +These release notes support the [Eclipse OpenJ9™ 0.50.0 release plan](https://projects.eclipse.org/projects/technology.openj9/releases/0.50.0/plan). |
| 27 | + |
| 28 | +## Supported environments |
| 29 | + |
| 30 | +OpenJ9 release 0.50.0 supports OpenJDK 24. |
| 31 | + |
| 32 | +All releases are tested against the OpenJ9 functional verification (FV) test suite, the OpenJDK test suites, and additional tests provided by Adoptium. |
| 33 | + |
| 34 | +To learn more about support for OpenJ9 releases, including OpenJDK levels and platform support, see [Supported environments](https://eclipse.org/openj9/docs/openj9_support/index.html). |
| 35 | + |
| 36 | +## Notable changes in this release |
| 37 | + |
| 38 | +The following table covers notable changes in v0.50.0. Further information about these changes can be found in the [user documentation](https://www.eclipse.org/openj9/docs/version0.50/). |
| 39 | + |
| 40 | +<table cellpadding="4" cellspacing="0" summary="" width="100%" rules="all" frame="border" border="1"><thead align="left"> |
| 41 | +<tr> |
| 42 | +<th valign="bottom">Issue number</th> |
| 43 | +<th valign="bottom">Description</th> |
| 44 | +<th valign="bottom">Version / Platform</th> |
| 45 | +<th valign="bottom">Impact</th> |
| 46 | +</tr> |
| 47 | +</thead> |
| 48 | +<tbody> |
| 49 | + |
| 50 | +<tr> |
| 51 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/16416">#16416</a>, <a href="https://github.com/eclipse-openj9/openj9/issues/20662">#20662</a></td> |
| 52 | +<td valign="top">A new parameter <tt>maxstringlength</tt> is added to the <tt>-Xtrace</tt> option to specify the length of the string arguments and return values that are printed in a trace output.</td> |
| 53 | +<td valign="top">All versions</td> |
| 54 | +<td valign="top">When you use the method tracing options, such as <tt>-Xtrace:methods={java/lang/String.concat'()'}</tt>, the argument is passed to the function as a string and the value is returned as a string. Earlier, you could not capture the contents of the string arguments and return values, only the address of the string object was printed. Now, both the actual strings as well as the addresses can be printed and with the new parameter, you can specify the length of the strings that are printed.</td> |
| 55 | +</tr> |
| 56 | +</tbody> |
| 57 | +</table> |
| 58 | + |
| 59 | +## Known issues |
| 60 | + |
| 61 | +The v0.50.0 release contains the following known issues and limitations: |
| 62 | + |
| 63 | +<table cellpadding="4" cellspacing="0" summary="" width="100%" rules="all" frame="border" border="1"> |
| 64 | +<thead align="left"> |
| 65 | +<tr> |
| 66 | +<th valign="bottom">Issue number</th> |
| 67 | +<th valign="bottom">Description</th> |
| 68 | +<th valign="bottom">Platform</th> |
| 69 | +<th valign="bottom">Impact</th> |
| 70 | +<th valign="bottom">Workaround</th> |
| 71 | +</tr> |
| 72 | +</thead> |
| 73 | + |
| 74 | +<tbody> |
| 75 | +<tr> |
| 76 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/15011">#15011</a></td> |
| 77 | +<td valign="top">The default stack size for the main thread is a smaller platform-dependent value.</td> |
| 78 | +<td valign="top">All</td> |
| 79 | +<td valign="top">The main thread stack size was 1 MB in releases before 0.32. In the 0.32 release and later it was modified to a smaller |
| 80 | +platform-dependent value, the same value as the <tt>-Xmso</tt> setting. The 0.33 release increased the default <tt>-Xmso</tt> stack size |
| 81 | +on x64 platforms, but builds with OpenJDK 17 and later also require more stack space to run. These changes might result in a |
| 82 | +<tt>java.lang.StackOverflowError: operating system stack overflow</tt>.</td> |
| 83 | +<td valign="top">Use <tt>-Xmso</tt> to set the default stack size. See the default value by using <tt>-verbose:sizes</tt>.</td> |
| 84 | +</tr> |
| 85 | + |
| 86 | +<tr> |
| 87 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/13767">#13767</a></td> |
| 88 | +<td valign="top">Compressed references mode is not available.</td> |
| 89 | +<td valign="top">Apple silicon macOS</td> |
| 90 | +<td valign="top">You can use only the large heap (non-compressed references) mode.</td> |
| 91 | +<td valign="top">None</td> |
| 92 | +</tr> |
| 93 | + |
| 94 | +<tr> |
| 95 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/14803">#14803</a></td> |
| 96 | +<td valign="top">Using the <tt>-XX:+ShowHiddenFrames</tt> option in an OpenJ9 release that is built with OpenJDK 18 and later causes errors.</td> |
| 97 | +<td valign="top">All platforms</td> |
| 98 | +<td valign="top">Wrong exception might be thrown when using the Reflection API.</td> |
| 99 | +<td valign="top">Avoid using the <tt>-XX:+ShowHiddenFrames</tt> option with OpenJDK 18 and later.</td> |
| 100 | +</tr> |
| 101 | + |
| 102 | +</tbody> |
| 103 | +</table> |
| 104 | + |
| 105 | +## Other changes |
| 106 | + |
| 107 | +A full commit history for 0.50.0 release is available at [Eclipse OpenJ9 v0.50.0](https://github.com/eclipse-openj9/openj9/releases/tag/openj9-0.50.0). |
0 commit comments