Today is the 20th anniversary of The Java Specialists' Newsletter. Time to sit back, relax, grab a coffee and wax lyr... Full Article
Each PrintStream uses about 25kb of memory. This might seem reasonable if we only have System.out and System.err. But... Full Article
Java 8 Streams were the first time that Java deliberately split utility classes into multiple versions to be used for... Full Article
A nice puzzle to brighten your day - how can we make the Iterator think that the List has not been changed? Full Article
Biased locking has made unnecessary mutexes cheap for over a decade. However, it is disabled by default in Java 15, s... Full Article
In our next puzzle, we up the ante a bit. We prevent GC during the test() method by storing a strong reference to all... Full Article