4.1.2: Grouping Executors related methods into a single class #9298
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.