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

4.1.2: Grouping Executors related methods into a single class #9298

Open
wants to merge 1 commit into
base: helidon-4.1.x
Choose a base branch
from

Conversation

barchetta
Copy link
Member

Backport #9271 to Helidon 4.1.2

Description

Enso has decided to use Helidon 4.0.x to emulate WebSocket on Graal.js. However we have problems to run our code on native image with GraalVM for JDK21. More info available - in short: there is a bug in GraalVM for JDK21 that prevents usage of virtual threads and Graal.js.

The bug was fixed in newer versions of GraalVM, but backport is complicated and we don't have a workaround for the bug on the GraalVM side and we'd like to stick with JDK 21.

Documentation

We have experimentally verified that with small changes in Helidon code we can use @Substitute mechanism of GraalVM native image to switch to platform threads. As we don't care about massive performance, but just want to get things work, it is a sufficient solution for us.

Can you accept this little refactoring into next version of Helidon, please? Thank you very much.

* Grouping Executors related methods into a single class


Signed-off-by: Tomas Langer <[email protected]>
Co-authored-by: Tomas Langer <[email protected]>
@barchetta barchetta added backport Issues that are merged into a single branch, but missing in either master or previous release 4.x Version 4.x labels Sep 27, 2024
@barchetta barchetta added this to the 4.1.2 milestone Sep 27, 2024
@barchetta barchetta self-assigned this Sep 27, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 27, 2024
@barchetta barchetta mentioned this pull request Sep 27, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x backport Issues that are merged into a single branch, but missing in either master or previous release OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants