For years, Java developers heard the same advice: âsynchronized is slow, so avoid it.â Then, around Java 6, that advice…