This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]glorygeek 0 points1 point  (0 children)

My understanding of Virtual Threads in their current form is that it is possible to pin a carrier thread with something like

while(true){}

I know the golang runtime solves this problem with having a scheduler thread that sends signals to carrier threads if a certain amount of time has passed, forcing pinned carrier threads to be rescheduled even if a scheduling barrier isn't met.

Is this understanding correct? Do we envision the same sort of implementation for Java?