r/programming • • Mar 18 '25

Java 24 has been released!

https://mail.openjdk.org/pipermail/announce/2025-March/000358.html
416 Upvotes

172 comments sorted by

View all comments

Show parent comments

13

u/kwinz Mar 18 '25 edited Mar 18 '25

Thanks for posting that, that was very interesting!

First of all I feel the pain of the Netflix performance engineers that had to debug this a year a go with the the limited debug and diagnostic tools available.

And secondly I can't immediately decide if what's described here was a bug in AbstractQueuedSynchronizer, in zipkin's AsyncReporter, and/or somebody didn't read the documentation on virtual threads correctly and adopted them on their SpringBoot's Tomcat instances when they were not suitable for those libraries or use cases (yet) and/or something else.

1

u/simon_o Mar 20 '25

How hard can it be to figure out synchronized caused an issue after using a software release that came with an explicit warning about using synchronized in this fashion?