diff --git a/doc/release-notes/0.46/0.46.md b/doc/release-notes/0.46/0.46.md new file mode 100644 index 00000000000..36ac6c94b93 --- /dev/null +++ b/doc/release-notes/0.46/0.46.md @@ -0,0 +1,148 @@ + + +# Eclipse OpenJ9 version 0.46.0 release notes + +These release notes support the [Eclipse OpenJ9™ 0.46.0 release plan](https://projects.eclipse.org/projects/technology.openj9/releases/0.46.0/plan). + +## Supported environments + +OpenJ9 release 0.46.0 supports OpenJDK 8, 11, 17, 21, and 22. + +All releases are tested against the OpenJ9 functional verification (FV) test suite, the OpenJDK test suites, and additional tests provided by Adoptium. + +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). + +## Notable changes in this release + +The following table covers notable changes in v0.46.0. Further information about these changes can be found in the [user documentation](https://www.eclipse.org/openj9/docs/version0.46/). + +
Issue number | +Description | +Version / Platform | +Impact | +
---|---|---|---|
#42, #140, #337, #743, #766 | +MD5 message digest algorithm support is added for OpenSSL. | +All versions | +OpenSSL native cryptographic support is added for the MD5 message digest algorithm, providing improved cryptographic performance. OpenSSL support is enabled by default. If you want to turn off support for the MD5 message digest algorithm, set the -Djdk.nativedigest system property to false. | +
#19436 | +Support is added for the com.sun.management.ThreadMXBean.getTotalThreadAllocatedBytes() API. | +All versions | +The OpenJ9 VM implementation supports measurement of the total memory allocation for all threads (com.sun.management.ThreadMXBean.getTotalThreadAllocatedBytes() API). The getTotalThreadAllocatedBytes() method now returns the total thread allocated bytes instead of -1. | +
#19585, #19619 | +The JITServer AOT caching feature is enabled by default at the JITServer server. | +All versions (Linux) | +-XX:+JITServerUseAOTCache is the default setting at the JITServer server now. That means that you don't have to specify the -XX:+JITServerUseAOTCache option at the server to enable the JITServer AOT caching feature. + +Although this option is by default enabled at the server, it is still disabled for the JITServer clients. The clients that want to use the JITServer AOT caching, must still specify the -XX:+JITServerUseAOTCache option on the command line. Also, now the clients don't have to enable the shared classes cache feature to use the -XX:+JITServerUseAOTCache option. + | +
#19554 | +A new option -XX:[+|-]EnableExtendedHCR is added. | +All versions | +By default, the extended Hot Code Replace (HCR) capability in the VM is disabled for all OpenJDK versions. You can enable or disable the HCR capability by using the -XX:[+|-]EnableExtendedHCR option. + +The extended HCR feature is deprecated in this release and will be removed in a future release. From OpenJDK 25 onwards, extended HCR will not be supported. Following that, the extended HCR support will be removed from other earlier OpenJDK versions also. + | +
Issue number | +Description | +Version / Platform | +Impact | +Workaround | +
---|---|---|---|---|
#19833 | +Class comparison for the shared cache might not not detect the removal of method access modifiers. For example, a change of a method from public to package-private. | +All | +If you ran your application with the -XX:+ShareOrphans option, then recompiled classes after removing the method access modifier and reran with the -XX:+ShareOrphans option, the old version of the class might still be used. | +Remove the -XX:+ShareOrphans option and rerun. | +
#19833 | +java.lang.StackTraceElement.getClassLoaderName() might return null for classes that are stored in the shared cache. | +All | +When the -XX:+ShareOrphans option is specified, java.lang.StackTraceElement.getClassLoaderName() might incorrectly return null on a class loader that has a name. If a class loader has a name, the correct behaviour is to return the name. | +Remove the -XX:+ShareOrphans option and rerun. | +
#15011 | +The default stack size for the main thread is a smaller platform-dependent value. | +All | +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 +platform-dependent value, the same value as the -Xmso setting. The 0.33 release increased the default -Xmso stack size +on x64 platforms, but builds with OpenJDK 17 and later also require more stack space to run. These changes might result in a +java.lang.StackOverflowError: operating system stack overflow. | +Use -Xmso to set the default stack size. See the default value by using -verbose:sizes. | +
#14803 | +Using the -XX:+ShowHiddenFrames option in an OpenJ9 release that is built with OpenJDK 18 and later causes errors. | +All platforms | +Wrong exception might be thrown when using the Reflection API. | +Avoid using the -XX:+ShowHiddenFrames option with OpenJDK 18 and later. | +
#13767 | +Compressed references mode is not available. | +Apple silicon macOS | +You can use only the large heap (non-compressed references) mode. | +None | +