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

Add Loom support (VirtualThreads) to GraalVM #4621

Closed
gato opened this issue Jun 3, 2022 · 4 comments
Closed

Add Loom support (VirtualThreads) to GraalVM #4621

gato opened this issue Jun 3, 2022 · 4 comments
Assignees
Labels

Comments

@gato
Copy link

gato commented Jun 3, 2022

Add Loom support (Virtual Threads) to current version of GraalVM

Is your feature request related to a problem? Please describe.
I've built GraalVM using Loom preview binaries as base. Building process worked flawlessly and projects that uses Loom's Virtualthreads can be built as well, but then fail when running more than a couple thousands Vthreads (threads start to hang with no visible error or exception)

Describe the solution you'd like.
Binary GraalVM distribution with Loom's Virtual Threads support

Describe who do you think will benefit the most.
GraalVM users, anyone that needs to create many threads that are basically I/O bound.

Describe alternatives you've considered.
Building GraalVM from source.

@gato gato added the feature label Jun 3, 2022
@oubidar-Abderrahim oubidar-Abderrahim self-assigned this Jun 7, 2022
@oubidar-Abderrahim
Copy link
Member

Hi, Thank you for your suggestion, we will take a look into it and get back to you

@dougxc
Copy link
Member

dougxc commented Jun 8, 2022

This will be delivered as part of the first GraalVM release based on JDK 19. The earliest ETA for that is GraalVM 22.3.

@gato
Copy link
Author

gato commented Jun 8, 2022

Thanks! eager to try it :)

@zakkak
Copy link
Collaborator

zakkak commented Jan 4, 2023

Virtual Threads support has landed in GraalVM Native Image (see #4802). rocket

Source #4920 (comment)

@zakkak zakkak closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants