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

Initial revision of Loom experiments #2224

Closed
wants to merge 2 commits into from
Closed

Initial revision of Loom experiments #2224

wants to merge 2 commits into from

Conversation

ljnelson
Copy link
Member

This is just the config stuff to trigger it; more commits to follow. The intent is that you can check this PR out and it will still build and run if you have JDK 11 but will be capable of being run under a Loom early build.

Signed-off-by: Laird Nelson laird.nelson@oracle.com

…ace to trigger it

Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
@ljnelson
Copy link
Member Author

This (currently draft) PR is related to #1412.

jaxRsExecutorService = ServerThreadPoolSupplier.builder()
Config serverConfig = config.get("server");
final java.lang.reflect.Method m;
if (serverConfig.get("virtual-threads").asBoolean().isPresent()) {
Copy link
Member

Choose a reason for hiding this comment

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

asBoolean().orElse(false) - what if virtual-threads: false - you would execute as well

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep; just a dumb typo in this draft PR

Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
@ljnelson
Copy link
Member Author

ljnelson commented Oct 6, 2020

I removed my fork at one point so I'm going to close this and re-roll it with substantially the same changes.

@ljnelson
Copy link
Member Author

ljnelson commented Oct 6, 2020

Closing; watch for the new one!

@ljnelson ljnelson closed this Oct 6, 2020
@ljnelson
Copy link
Member Author

ljnelson commented Oct 6, 2020

See #2417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants