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

Loom Support #7576

Closed
techwn opened this issue Dec 25, 2022 · 3 comments
Closed

Loom Support #7576

techwn opened this issue Dec 25, 2022 · 3 comments
Labels
enhancement Feature not a bug

Comments

@techwn
Copy link

techwn commented Dec 25, 2022

Project Loom, known as JEP 425 has published in JDK 19 as preview features.

Spring community is also embracing the change.

Tomcat also add support as preview feature

Is there any roadmap for okhttp support it since it will be officially publish with JDK 21, probably at 09/23.

@techwn techwn added the enhancement Feature not a bug label Dec 25, 2022
@yschimke
Copy link
Collaborator

We looked at it in #7367

It's likely blocked on okio first. I think it should work well given okio/okhttp design.

A lot of changing synchronized blocks to locks and conditions, that should be fine even without loom.

@yschimke yschimke changed the title JAVA virtual thread support to replace the innner request thread pool on JDK 21 and later. Loom Support Dec 25, 2022
@yschimke
Copy link
Collaborator

Okio issue square/okio#1169

@yschimke
Copy link
Collaborator

yschimke commented Jan 8, 2023

While we can always test, benchmark more, the okio and okhttp support is in place. Can incrementally fix more as we go.

@yschimke yschimke closed this as completed Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature not a bug
Projects
None yet
Development

No branches or pull requests

2 participants