Concurrency
-
Core Java

Dealing with Interruptions
I was just watching the VJUG interview with Heinz Kabutz which inspired me to write a post about Interruptions. By…
Read More » -
Enterprise Java

Farewell to Asynchronous Code
Quasar is a library that adds true lightweight threads (fibers) to the JVM. These are very cheap and very fast…
Read More » -
Core Java

Shooting yourself in the foot with Random number generators
This is not going to be one of the posts explaining how a random number generator is not so random…
Read More » -
Core Java

CompletableFuture can’t be interrupted
I wrote a lot about InterruptedException and interrupting threads already. In short if you call Future.cancel() not inly given Future…
Read More » -
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 »

