Concurrency
-
Core Java

Java Concurrency Tutorial – Locking: Explicit locks
1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such…
Read More » -
Core Java

Java8 Multi-threading ForkJoinPool: Dealing with exceptions
One of the main motivations behind the introduction of Java8 lambdas was the ability to be able to use multicores…
Read More » -
Core Java

Fork/Join Framework vs. Parallel Streams vs. ExecutorService: The Ultimate Fork/Join Benchmark
How does the Fork/Join framework act under different configurations? Just like the upcoming episode of Star Wars, there has been…
Read More » -
Core Java

Improving lock performance in Java
Plumbr is the only solution that automatically detects the root causes of Java performance issues by interpreting application performance data.…
Read More » -
Core Java

Thread Magic Tricks: 5 Things You Never Knew You Can Do with Java Threads
What are some of the least known facts and use cases for Java threads? Some people like mountain climbing, others do…
Read More » -
Core Java

Asynchronous timeouts with CompletableFuture
One day I was rewriting poorly implemented multi-threaded code that was blocking at some point on Future.get(): …
Read More » -
Core Java

Playing With Java Concurrency
Recently I needed to transform some filet that each has a list (array) of objects in JSON format to files…
Read More » -
Core Java

Thread local storage in Java
One of the rarely known features among developers is Thread-local storage. The idea is simple and need for it comes…
Read More » -
Core Java

Converting between Completablefuture and Observable
CompletableFuture<T> from Java 8 is an advanced abstraction over a promise that value of type T will be available in…
Read More »
