Questions tagged [java-loom]
3 questions
27
votes
3 answers
Project loom: what makes the performance better when using virtual threads?
To give some context here, I have been following Project Loom for some time now. I have read The state of Loom. I have done asynchronous programming.
Asynchronous programming (provided by Java NIO) returns the thread to the thread pool when the taskā¦

Ashwin
- 12,691
- 31
- 118
- 190
16
votes
1 answer
Netty and Project Loom
I may be wrong, but as far as I understand, the whole Reactive/Event Loop thing, and Netty in particular, was invented as an answer to the C10K+ problem. It has obvious drawbacks, as all your code now becomes Async, with ugly callbacks, meaninglessā¦

bxq
- 273
- 1
- 8
1
vote
2 answers
How to enable fibers for the early release of the jdk-16 loom?
I've downloaded the early release version from https://jdk.java.net/loom/ and java starts but doing Class.forName("java.lang.Fiber") and Class.forName("java.lang.FiberScope") doesn't work. Is there a flag/jar that needs to be included?

zcaudate
- 13,998
- 7
- 64
- 124