Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anonymousDan
on Sept 30, 2022
|
parent
|
context
|
favorite
| on:
Virtual Threads: New Foundations for High-Scale Ja...
That's pretty cool! What about the blocking issue? Presumably also if you are using JNI all bets are off?
aardvark179
on Sept 30, 2022
[–]
If you are using JNI then that puts a native frame on the stack and pins the virtual thread. Loom’s strategy works because we know what can be on the Java stack, and that nothing external points into it, but we don’t know that for native frames.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: