Blog: java specialists


222 blogs updated: 69 min. ago
Issue 263 - Anonymous Tuples
Anonymous inner classes can be used effectively in Java 8 Streams to create tuples. See how this can improve our refactoring of old procedur...
6
28-11-2018 18:15:21 java specialists Beginners
Issue 262 - How Java Maps Protect Themselves From DOS Attacks
A well known exploit with maps is to create a lot of Strings as keys that all have the same hash code. In this newsletter we see how easily ...
3
09-10-2018 16:23:57 java specialists Beginners
Issue 261 - Concurrent Queue Sizes and Hot Fields
ConcurrentLinkedQueue's size() method is not very useful in a multi-threaded environment, because it counts the number of elements in the qu...
4
20-09-2018 17:24:42 java specialists Beginners
Issue 260 - Java Is Still Free
Is the Java Ecosystem still safe and robust or should we move to a different language? Maybe Go or Python? In this newsletter we look at whe...
4
17-09-2018 18:54:29 java specialists Beginners
Issue 259 - Try-With-Resource in Plain Java
How would the plain Java code look for our try-with-resource constructs? Watch how 4 lines of code are expanded into 39 LOC and 170 bytecode...
4
01-07-2018 22:54:27 java specialists Beginners
Issue 258 - ShuffleCollector
Sorting a stream is easy. But what if we want the opposite: shuffling? We can shuffle a List with Collections.shuffle(List) . But how can we...
20
09-04-2018 18:27:05 java specialists Beginners
Issue 257 - CountDownLatch vs Phaser
Java 7 gave us a brilliant new class called Phaser, which we can use to coordinate actions between threads. It replaces both CountDownLatch ...
21
02-04-2018 09:19:28 java specialists Beginners
Issue 256 - Java 10: Parallel Full GC in G1GC
Apparently Full GC is done in parallel in the Java 10 G1 collector. Or is it? In this newsletter we set out to discover the truth by dumping...
21
31-03-2018 14:15:39 java specialists Beginners
Issue 255 - Java 10: Inferred Local Variables
Local variable type inference is finally here, but dangers lurk. We might encourage overly long methods and lose the benefits of interface a...
18
01-03-2018 00:48:19 java specialists Beginners
Issue 254 - Big O Cost of Class.getMethod()
We now look at why the best-case scenario for a getMethod() call is O(n), not O(1) as we would expect. We also discover that the throughput ...
14
28-02-2018 18:39:15 java specialists Beginners


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

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