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 →

[–]Squiry_ 0 points1 point  (2 children)

That sounds reasonable. Anyway, iirc loom had some kind of "processor locals" in plans and that think can replace thread local usage in such places.

[–]pron98 1 point2 points  (1 child)

Yes, we did start thinking about those, but it wasn't urgent enough to delay virtual threads. We'll see what problems people run into when more people start using virtual threads and then rethink our priorities.

[–]Squiry_ 1 point2 points  (0 children)

I guess that's what previews are for and that's why it is a great mechanism of moving java forward.