Wow, I actually managed to observe an obscure JRE deadlock bug in the wild. It was apparently reported in 2010 and it's now marked as "wontfix" in v8 JREs. =(

bugs.java.com/bugdatabase/view

We're still supporting v8 JREs, because you know, backwards compatibility. Luckily the workaround is pretty easy.

At least I think so... you never really know for sure if you fixed a concurrency bug or not.

Follow

See also: Singletons considered harmful.

Concurrency is hard to get right.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!