Concurrency
-
Core Java
Lock Less Java Object Pool
It has been a while since I wrote anything, I have been busy with my new job that involves doing…
Read More » -
Enterprise Java
Invoking Async method call using Future object in Spring
The next example will demonstrate an async method call inside the Spring container. Why do we need async method calls?…
Read More » -
Core Java
Experiment with ConcurrentHashmap
I am investigating a memory issue in one of my recent projects where data is kept in memory for fast…
Read More » -
Core Java
Five advanced Java Synchronizers you probably don’t know
Besides the common synchronize which is based in the lock bit that every Java object has, you have more sophisticated…
Read More » -
Core Java
Java 8: CompletableFuture in action
After thoroughly exploring CompletableFuture API in Java 8 we are prepared to write a simplistic web crawler. We solved similar…
Read More » -
Core Java
Java 8: Definitive guide to CompletableFuture
Java 8 is coming so it’s time to study new features. While Java 7 and Java 6 were rather minor…
Read More » -
Enterprise Java
Synchronising Multithreaded Integration Tests revisited
I recently stumbled upon an articleSynchronising Multithreaded Integration Tests on Captain Debug’s Blog. That post emphasizes the problem of designing…
Read More » -
Core Java
Why a synchronized StringBuffer was never a good idea
Introduction StringBuffer is a synchronized class for mutable strings. The main problem with making it synchronized is that It was…
Read More » -
Core Java
Inadvertent Recursion Protection with Java ThreadLocals
Now here’s a little trick for those of you hacking around with third-party tools, trying to extend them without fully…
Read More »