Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(722-to-723): Add GraalVM Docs #1718

Merged
merged 5 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions content/update/minor/722-to-723/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This document guides you through the update from Camunda `7.22.x` to `7.23.0` an

1. For developers: [Set Variables Async API](#set-variables-async-api)
1. For administrators and developers: [Bootstrap NES and AngularJS NES by HeroDevs, Inc.](#bootstrap-nes-and-angularjs-nes-by-herodevs-inc)
1. For administrators and developers: [GraalVM Upgrade](#graalvm-upgrade)

This guide covers mandatory migration steps and optional considerations for the initial configuration of new functionality included in Camunda 7.23.

Expand All @@ -41,3 +42,23 @@ Camunda 7.23.0 replaces the following libraries with versions of Bootstrap NES a
Where AngularJS, angular-ui-bootstrap, angular-translate, angular-moment, and Bootstrap were licensed entirely under the MIT license, Bootstrap NES and AngularJS NES by HeroDevs, Inc. licenses additional parts under the HeroDevs NES License. By downloading and using Camunda with Bootstrap NES and AngularJS NES by HeroDevs, Inc., you agree to the terms of the HeroDevs NES License. You can find the HeroDevs NES License terms in our [License Book]({{< ref "/introduction/third-party-libraries/camunda-bpm-platform-license-book.md" >}}).

Please see our [third-Party libraries documentation]({{< ref "/introduction/third-party-libraries/_index.md#web-applications-cockpit-tasklist-admin" >}}) for details.

# GraalVM Upgrade

We are pleased to announce that the `7.23` release is compatible with `GraalVM 21.3.x`
yanavasileva marked this conversation as resolved.
Show resolved Hide resolved

The engine will automatically **disable the system property** `polyglot.engine.WarnInterpreterOnly` when:

- A [GraalJS](https://www.graalvm.org/jdk17/reference-manual/js/) script engine is used (can be found in Camunda pre-packaged distributions for executing JavaScript on script tasks)
- A `GraalVM` **JDK** or **Compiler** is not used
psavidis marked this conversation as resolved.
Show resolved Hide resolved

This adjustment ensures a smoother experience by suppressing unnecessary warnings related to `interpreter-only` execution in non-native GraalVM environments
which might cause confusion to our users running on non-GraalVM JDKs.

You can read more about the warnings [here](https://www.graalvm.org/jdk17/reference-manual/js/FAQ/#warning-implementation-does-not-support-runtime-compilation).

{{< note title="Heads-up!" class="info" >}}
If you want to ensure the best performance for JS execution, you can always configure the GraalVM Compiler with your JDK of choice, or use the GraalVM JDK.

More information on how to do this can be found in the official [GraalVM documentation](https://www.graalvm.org/jdk17/reference-manual/js/RunOnJDK/#graalvm-javascript-on-jdk-11).
{{< /note >}}
22 changes: 22 additions & 0 deletions content/update/patch-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,28 @@ Where AngularJS, angular-ui-bootstrap, angular-translate, angular-moment, and Bo

Please see our [third-party libraries documentation]({{< ref "/introduction/third-party-libraries/_index.md#web-applications-cockpit-tasklist-admin" >}}) for details.

## 7.22.1 to 7.22.2 / 7.21.6 to 7.21.7 / 7.20.9 to 7.20.10
psavidis marked this conversation as resolved.
Show resolved Hide resolved

### GraalVM Upgrade

We are pleased to announce that the above patch releases are compatible with `GraalVM 21.3.12`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch version of graalvm is hardcoded here


The engine will automatically **disable the system property** `polyglot.engine.WarnInterpreterOnly` when:

- A [GraalJS](https://www.graalvm.org/jdk17/reference-manual/js/) script engine is used (can be found in Camunda pre-packaged distributions for executing JavaScript on script tasks)
- A `GraalVM` **JDK** or **Compiler** is not used
psavidis marked this conversation as resolved.
Show resolved Hide resolved

This adjustment ensures a smoother experience by suppressing unnecessary warnings related to `interpreter-only` execution in non-native GraalVM environments
which might cause confusion to our users running on non-GraalVM JDKs.

You can read more about the warnings [here](https://www.graalvm.org/jdk17/reference-manual/js/FAQ/#warning-implementation-does-not-support-runtime-compilation).

{{< note title="Heads-up!" class="info" >}}
If you want to ensure the best performance for JS execution, you can always configure the GraalVM Compiler with your JDK of choice, or use the GraalVM JDK.

More information on how to do this can be found in the official [GraalVM documentation](https://www.graalvm.org/jdk17/reference-manual/js/RunOnJDK/#graalvm-javascript-on-jdk-11).
{{< /note >}}

# Full Distribution

This section is applicable if you installed the [Full Distribution]({{< ref "/introduction/downloading-camunda.md#full-distribution" >}}) with a **shared process engine**. In this case you need to update the libraries and applications installed inside the application server.
Expand Down