Blog: java specialists


212 blogs updated: 125 min. ago
Issue 285 - I/O Stream Memory Overhead
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...
3
31-10-2020 01:00:06 java specialists Beginners
Issue 283 - Four Billion Changes
A nice puzzle to brighten your day - how can we make the Iterator think that the List has not been changed?
6
08-10-2020 11:43:30 java specialists Beginners
Issue 284 - java.util.PrimitiveIterator.OfInt
Java 8 Streams were the first time that Java deliberately split utility classes into multiple versions to be used for Object, int, long and ...
6
07-10-2020 19:12:30 java specialists Beginners
Issue 284 - java.util.PrimitiveIterator.OfInt
Java 8 Streams were the first time that Java deliberately split utility classes into multiple versions to be used for Object, int, long and ...
7
01-10-2020 06:07:03 java specialists Beginners
Issue 283 - Four Billion Changes
A nice puzzle to brighten your day - how can we make the Iterator think that the List has not been changed?
12
28-08-2020 17:33:19 java specialists Beginners
Issue 282 - Biased locking a goner, but better things Loom ahead
Biased locking has made unnecessary mutexes cheap for over a decade. However, it is disabled by default in Java 15, slated for removal. From...
15
21-07-2020 20:58:17 java specialists Beginners
Issue 281 - Puzzle 2: Is it garbage?
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 ...
7
24-06-2020 12:22:40 java specialists Beginners
Issue 280 - Puzzle: What's up with Vector?
For today's puzzle, we are getting elements from Vector, sequentially and in parallel. But why is the performance so much worse in Java 15-e...
7
23-06-2020 18:20:43 java specialists Beginners
Issue 279 - Upgrading ReadWriteLock
The Java ReentrantReadWriteLock can never ever upgrade a read lock to a write lock. Kotlin's extension function ReentrantReadWriteLock.wr it...
12
28-05-2020 23:59:21 java specialists Beginners
Issue 278 - Free Memory
How much memory was wasted when an additional boolean field was added to java.lang.String in Java 13? None at all. This article explains why...
13
30-04-2020 09:53:53 java specialists Beginners


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.