For years, Java developers heard the same advice: “synchronized is slow, so avoid it.” Then, around Java 6, that advice quietly stopped being true. A hidden HotSpot optimization called biased locking was a big reason why. Later, the same optimization was switched off and finally deleted. In this article, we follow that story, confirm the …