|
|
|
|
|
by NovaX
879 days ago
|
|
Perhaps it’s better to say that they are not yet general purpose. There are many caveats which need to be resolved and are being actively worked on. I would not use them broadly yet, but that could change rapidly. A monitor will pin the VT to the carrier thread. That can have surprising incompatibility in the current jdk. Soon these footguns will be fixed and you can use them worry free. https://www.reddit.com/r/java/comments/1512xuo/virtual_threa... |
|
Moving monitors into Java is not a good solution, like the long solution they are working on.
Java should be the API not the implementation!