by NovaX · 2y ago · 0 comments
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!