|
| 1 | +<!-- |
| 2 | +* Copyright (c) 2024 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.47.0 release notes |
| 25 | + |
| 26 | +These release notes support the [Eclipse OpenJ9™ 0.47.0 release plan](https://projects.eclipse.org/projects/technology.openj9/releases/0.47.0/plan). |
| 27 | + |
| 28 | +## Supported environments |
| 29 | + |
| 30 | +OpenJ9 release 0.47.0 supports OpenJDK 23. |
| 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.47.0. Further information about these changes can be found in the [user documentation](https://www.eclipse.org/openj9/docs/version0.47/). |
| 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/pull/19679">#19679</a></td> |
| 52 | +<td valign="top">The <tt>-Xshareclasses</tt> option automatically enables the <tt>-XX:+ShareOrphans</tt> option.</td> |
| 53 | +<td valign="top">All versions</td> |
| 54 | +<td valign="top">The <tt>-XX:+ShareOrphans</tt> option automatically enables the <tt>-Xshareclasses</tt> option. From this release onwards, if the <tt>-Xshareclasses</tt> option is specified in the command line, it automatically enables the <tt>-XX:+ShareOrphans</tt> option.</td> |
| 55 | +</tr> |
| 56 | + |
| 57 | +<tr> |
| 58 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/pull/19833">#19833</a></td> |
| 59 | +<td valign="top">The class comparison now detects the removal of method access modifiers. <tt>java.lang.StackTraceElement.getClassLoaderName()</tt> does not return null for classes that are stored in the shared cache.</td> |
| 60 | +<td valign="top">All versions</td> |
| 61 | +<td valign="top">When the <tt>-XX:[+|-]ShareOrphans</tt> option was introduced, it had the following restrictions: |
| 62 | + |
| 63 | +- The class comparison might not detect the removal of method access modifiers. For example, a change of a method from public to package-private. |
| 64 | +- `java.lang.StackTraceElement.getClassLoaderName()` might return null for classes that are stored in the shared cache. |
| 65 | + |
| 66 | +In this release, these two issues are fixed.</td> |
| 67 | +</tr> |
| 68 | + |
| 69 | +</tbody> |
| 70 | +</table> |
| 71 | + |
| 72 | +## Known issues |
| 73 | + |
| 74 | +The v0.47.0 release contains the following known issues and limitations: |
| 75 | + |
| 76 | +<table cellpadding="4" cellspacing="0" summary="" width="100%" rules="all" frame="border" border="1"> |
| 77 | +<thead align="left"> |
| 78 | +<tr> |
| 79 | +<th valign="bottom">Issue number</th> |
| 80 | +<th valign="bottom">Description</th> |
| 81 | +<th valign="bottom">Version / Platform</th> |
| 82 | +<th valign="bottom">Impact</th> |
| 83 | +<th valign="bottom">Workaround</th> |
| 84 | +</tr> |
| 85 | +</thead> |
| 86 | + |
| 87 | +<tbody> |
| 88 | + |
| 89 | +<tr> |
| 90 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/15011">#15011</a></td> |
| 91 | +<td valign="top">The default stack size for the main thread is a smaller platform-dependent value.</td> |
| 92 | +<td valign="top">All</td> |
| 93 | +<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 |
| 94 | +platform-dependent value, the same value as the <tt>-Xmso</tt> setting. The 0.33 release increased the default <tt>-Xmso</tt> stack size |
| 95 | +on x64 platforms, but builds with OpenJDK 17 and later also require more stack space to run. These changes might result in a |
| 96 | +<tt>java.lang.StackOverflowError: operating system stack overflow</tt>.</td> |
| 97 | +<td valign="top">Use <tt>-Xmso</tt> to set the default stack size. See the default value by using <tt>-verbose:sizes</tt>.</td> |
| 98 | +</tr> |
| 99 | + |
| 100 | +<tr> |
| 101 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/14803">#14803</a></td> |
| 102 | +<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> |
| 103 | +<td valign="top">All platforms</td> |
| 104 | +<td valign="top">Wrong exception might be thrown when using the Reflection API.</td> |
| 105 | +<td valign="top">Avoid using the <tt>-XX:+ShowHiddenFrames</tt> option with OpenJDK 18 and later.</td> |
| 106 | +</tr> |
| 107 | + |
| 108 | +<tr> |
| 109 | +<td valign="top"><a href="https://github.com/eclipse-openj9/openj9/issues/13767">#13767</a></td> |
| 110 | +<td valign="top">Compressed references mode is not available.</td> |
| 111 | +<td valign="top">Apple silicon macOS</td> |
| 112 | +<td valign="top">You can use only the large heap (non-compressed references) mode.</td> |
| 113 | +<td valign="top">None</td> |
| 114 | +</tr> |
| 115 | + |
| 116 | +</tbody> |
| 117 | +</table> |
| 118 | + |
| 119 | +## Other changes |
| 120 | + |
| 121 | +A full commit history for 0.47.0 release is available at [Eclipse OpenJ9 v0.47.0](https://github.com/eclipse-openj9/openj9/releases/tag/openj9-0.47.0). |
0 commit comments