Integrate Grizzly 5 virtual thread pool - support for virtual threads for HTTP and IIOP requests #25859
+441
−192
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.
This requires a new release of Grizzly 5.0, with this merged: eclipse-ee4j/glassfish-grizzly#2271
Adds support for a new "virtual" argument to thread pools - if
true, GlassFish will switch to the built-in virtual thread pool provided by Grizzly.Also allow specifying a class for the thread pool directly in the create-threadpool admin command.
Support monitoring for virtual threads.
Run monitoring test suite also for virtual threads.
EDIT, dmatej: As the Grizzly 5 is a major version, OSGI doesn't like it in combination with older dependencies which declare a version range usually
[3.0, 5.0). Therefore we need to update and release these projects too, ideally preventing it to happen again ever. Following PRs much be merged and projects released:TBD: Would be good if those projects would deploy to Maven Central Snapshots too.
Note about OSGI ranges - Claude AI suggests incorrect solutions, while old SO is correct: https://stackoverflow.com/questions/8353771/osgi-valid-version-ranges/8354987#8354987