Blog: java specialists |
222 blogs
updated: 54 min. ago
|
||
How consistent is weakly-consistent iteration? And which collections return weakly-consistent iterators? How do we know? Join us as we explo...
|
||
MethodHandles annotate the invoke() methods with @PolymorphicSignature. In this newsletter we see how this can help to avoid unnecessary obj...
|
||
Today is the 20th anniversary of The Java Specialists' Newsletter. Time to sit back, relax, grab a coffee and wax lyrically about what makes...
|
||
Each PrintStream uses about 25kb of memory. This might seem reasonable if we only have System.out and System.err. But what happens if we try...
|
||
A nice puzzle to brighten your day - how can we make the Iterator think that the List has not been changed?
|
||
Java 8 Streams were the first time that Java deliberately split utility classes into multiple versions to be used for Object, int, long and ...
|
||
Java 8 Streams were the first time that Java deliberately split utility classes into multiple versions to be used for Object, int, long and ...
|
||
A nice puzzle to brighten your day - how can we make the Iterator think that the List has not been changed?
|
||
Biased locking has made unnecessary mutexes cheap for over a decade. However, it is disabled by default in Java 15, slated for removal. From...
|
||
In our next puzzle, we up the ante a bit. We prevent GC during the test() method by storing a strong reference to all our Vectors. Cock and ...
|
||
Made better & faster using https://www.yourkit.com/ Java Profiler