From 18b7c923bbbe585070d8c44a06193d6642a4ccf7 Mon Sep 17 00:00:00 2001 From: Sreekala Gopakumar Date: Mon, 27 Feb 2023 19:11:18 +0530 Subject: [PATCH 1/4] Release note 0.37.0 https://github.com/eclipse-openj9/openj9/issues/16772 Created a draft 0.37.0 release note including the support for the com.sun.management.ThreadMXBean interface [skip ci] Signed-off-by: Sreekala Gopakumar --- doc/release-notes/0.37/0.37.md | 130 +++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 doc/release-notes/0.37/0.37.md diff --git a/doc/release-notes/0.37/0.37.md b/doc/release-notes/0.37/0.37.md new file mode 100644 index 00000000000..724b47c1916 --- /dev/null +++ b/doc/release-notes/0.37/0.37.md @@ -0,0 +1,130 @@ + + +# Eclipse OpenJ9 version 0.37.0 release notes + +These release notes support the [Eclipse OpenJ9™ 0.37.0 release plan](https://projects.eclipse.org/projects/technology.openj9/releases/0.37.0/plan). + +## Supported environments + +OpenJ9 release 0.37.0 supports OpenJDK 19. + +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.37.0. Further information about these changes can be found in the [user documentation](https://www.eclipse.org/openj9/docs/version0.37/). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Issue numberDescriptionVersion / PlatformImpact
#16581AIX® is now built on AIX 7.2 TL5.All versions (AIX)All AIX compiles are now moved from AIX 7.1 TL5 to AIX 7.2 TL5.
#16703Linux® reference compiler is updated to gcc 11.2.OpenJDK 19 and later (Linux x86 64-bit, Linux on POWER LE 64-bit, and Linux on IBM Z 64-bit) Linux builds for platforms Linux x86 64-bit, Linux on POWER LE 64-bit, and Linux on IBM Z 64-bit now use gcc 11.2 instead of gcc 10.3. Linux AArch64 64-bit continues to use the gcc 10.3 compiler.
#16698Support is added for the com.sun.management.ThreadMXBean interface.All versionsThe OpenJ9 ThreadMXbean interface (com.ibm.lang.management.ThreadMXBean) was extending the java.lang.management.ThreadMXBean interface. With this release, the OpenJ9 ThreadMXBean interface extends the com.sun.management.ThreadMXBean interface, whereby it now contains all the methods of the java.lang.management.ThreadMXBean interface with additional methods from the com.sun.management.ThreadMXBean interface.
#16705OpenJ9 Windows® builds for OpenJDK 19 and later are now compiled with Microsoft® Visual Studio 2022.OpenJDK 19 and later (Windows)The Visual Studio redistributable files included with the build are updated to match.
+ +## Known issues + +The v0.37.0 release contains the following known issues and limitations: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Issue numberDescriptionPlatformImpactWorkaround
#15011The default stack size is modified for the main threadAllThe main thread stack size was 1 MB in releases prior to 0.32. In the 0.32 release and later it's modified to a smaller +platform-dependent value, the same value as the -Xmso setting. The 0.33 release increases 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.
#13767Compressed references mode is not availableApple silicon macOSYou can use only the large heap (non-compressed references) mode.None
#14803Using the -XX:+ShowHiddenFrames option in an OpenJ9 release that is built with OpenJDK 18 and later causes errors due to underlying problems in OpenJDKAll platformsWrong exception might be thrown when using the Reflection API.Avoid using the -XX:+ShowHiddenFrames option with OpenJDK 18 and later.
+ +## Other changes + +A full commit history for 0.37.0 release is available at [Eclipse OpenJ9 v0.37.0](https://github.com/eclipse-openj9/openj9/releases/tag/openj9-0.37.0). From 796d7d77f7a9b1a9d3fbcda7a77377b2f1185961 Mon Sep 17 00:00:00 2001 From: Sreekala Gopakumar Date: Mon, 6 Mar 2023 13:18:29 +0530 Subject: [PATCH 2/4] Update release note 0.37.0 with tokenlabel support on Linux Z https://github.com/eclipse-openj9/openj9/issues/16824 Updated the release note with tokenlabel support for SunPKCS11 configuration on Linux on Z based on https://github.com/eclipse-openj9/openj9-docs/issues/1057 [skip ci] Signed-off-by: Sreekala Gopakumar --- doc/release-notes/0.37/0.37.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/release-notes/0.37/0.37.md b/doc/release-notes/0.37/0.37.md index 724b47c1916..cc53e47193d 100644 --- a/doc/release-notes/0.37/0.37.md +++ b/doc/release-notes/0.37/0.37.md @@ -76,6 +76,15 @@ The following table covers notable changes in v0.37.0. Further information about The Visual Studio redistributable files included with the build are updated to match. + +#547 +Support for PKCS#11 token labels is added on z/OS® and Linux on IBM Z®. +OpenJDK 11 and later (z/OS and Linux on IBM Z) +On restarting an application, or creating or removing of tokens, the token might move to a different slot. An application that uses the slot or slotListIndex attributes might fail if it doesn’t first check which slot the token is in. + + OpenJ9 now supports the use of an extra attribute, tokenlabel, in the SunPKCS11 configuration file on z/OS and Linux on IBM Z, which helps to avoid this issue. + + From fe2e253a21cb4154e1b91efaa90834f300970b3f Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Thu, 13 Apr 2023 09:28:29 -0400 Subject: [PATCH 3/4] Update 0.37 release notes, OpenJDK 19 is out of support Signed-off-by: Peter Shipton --- doc/release-notes/0.37/0.37.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/release-notes/0.37/0.37.md b/doc/release-notes/0.37/0.37.md index cc53e47193d..4ff67a7cff5 100644 --- a/doc/release-notes/0.37/0.37.md +++ b/doc/release-notes/0.37/0.37.md @@ -28,7 +28,7 @@ These release notes support the [Eclipse OpenJ9™ 0.37.0 release plan](http ## Supported environments -OpenJ9 release 0.37.0 supports OpenJDK 19. +OpenJ9 release 0.37.0 works with OpenJDK 19. OpenJDK 19 is out of support at the time of the 0.37.0 release. Builds of 0.37.0 should not be used in production and might contain known security vulnerabilities as of 18 April 2023. All releases are tested against the OpenJ9 functional verification (FV) test suite, the OpenJDK test suites, and additional tests provided by Adoptium. @@ -104,6 +104,14 @@ The v0.37.0 release contains the following known issues and limitations: + +N/A +OpenJDK 19 is out of support at the time of the 0.37.0 release. +All +Builds of 0.37.0 should not be used in production and might contain known security vulnerabilities as of 18 April 2023. Known and reported problems will be resolved in builds supporting OpenJDK 20 or later. +Use builds supporting OpenJDK 20 or later when they are available. + + #15011 The default stack size is modified for the main thread From ba5f9ef95d77b796f3e33b137b52caf40468eda8 Mon Sep 17 00:00:00 2001 From: Babneet Singh Date: Thu, 13 Apr 2023 10:29:26 -0400 Subject: [PATCH 4/4] Document virtual thread issues in the 0.37 release notes Signed-off-by: Peter Shipton --- doc/release-notes/0.37/0.37.md | 38 +++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/doc/release-notes/0.37/0.37.md b/doc/release-notes/0.37/0.37.md index 4ff67a7cff5..34c8aa9b45e 100644 --- a/doc/release-notes/0.37/0.37.md +++ b/doc/release-notes/0.37/0.37.md @@ -114,7 +114,7 @@ The v0.37.0 release contains the following known issues and limitations: #15011 -The default stack size is modified for the main thread +The default stack size is modified for the main thread. All The main thread stack size was 1 MB in releases prior to 0.32. In the 0.32 release and later it's modified to a smaller platform-dependent value, the same value as the -Xmso setting. The 0.33 release increases the default -Xmso stack size @@ -125,7 +125,7 @@ on x64 platforms, but builds with OpenJDK 17 and later also require more stack s #13767 -Compressed references mode is not available +Compressed references mode is not available. Apple silicon macOS You can use only the large heap (non-compressed references) mode. None @@ -133,12 +133,44 @@ on x64 platforms, but builds with OpenJDK 17 and later also require more stack s #14803 -Using the -XX:+ShowHiddenFrames option in an OpenJ9 release that is built with OpenJDK 18 and later causes errors due to underlying problems in OpenJDK +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. + +#16728 +Virtual threads might cause slowness and an error under heavy workloads. +All platforms +Native OOM error, heap OOM error and performance regression might be seen when an application is scaled to 1 million or more virtual threads. +Use -Xnocompressedrefs to mitigate the native OOM error. Increase -Xmx to mitigate the heap OOM error. Both options will also help mitigate the slowness. + + + +#17163, #17181 +Virtual threads might trigger an error under heavy workloads. +All platforms +The error might manifest either as an assertion or hang under heavy workload of virtual threads. +Use a different GC policy to mitigate these errors. + + + +#17119, #17120 +Virtual threads might trigger an exception. +All platforms +IllegalMonitorStateException might be thrown while trying to release a ReentrantLock. +Disable JIT inlining to mitigate this exception. + + + +#16756 +Virtual threads might trigger a failure. +All platforms +A rare segmentation fault might occur due to corruption in the Java stack of a virtual thread's carrier thread. +None. + +