Synchronization
-
Core Java

Why synchronized Got Fast: The Rise and Removal of Biased Locking
For years, Java developers heard the same advice: “synchronized is slow, so avoid it.” Then, around Java 6, that advice…
Read More » -
Core Java

Java 8 StampedLocks vs. ReadWriteLocks and Synchronized
Synchronized sections are kind of like visiting your parents-in-law. You want to be there as little as possible. When it…
Read More » -
Core Java

InterruptedException and interrupting threads explained
If InterruptedException wasn’t checked exception, probably no one would even notice it – which would actually prevent couple of bugs…
Read More »
