List/Grid Tag Archives: Concurrency

Java Concurrency Tutorial – Semaphores
This is the first part in a series that we’re going to be doing on Java concurrency. Specifically, we are going to dive into the concurrency tools built into Java 1.5 and beyond. ...

The Exchanger and GC-less Java
Overview The Exchanger class is very efficient at passing work between thread and recycling the objects used. AFAIK, It is also one of the least used Concurrency classes. Nevertheless, ...

Quick tips for improving Java apps performance
Ever had performance problems? Yeah me too. If my manager screams “faaaaster” one more time, i will have hearing impairment for the rest of my life. BTW, did i sense a German pronunciation ...

How does JVM handle locks
As we are talking about the latest version of Sun Hotspot Java Virtual Machine 1.6 there’re the following three types of locks performed by JVM when you try to acquire lock ...

How to Avoid ConcurrentModificationException when using an Iterator
Java Collection classes are fail-fast which means that if the Collection will be changed while some thread is traversing over it using iterator, the iterator.next() will throw a ConcurrentModificationException. ...

Java Fork/Join for Parallel Programming
The last few years a paradigm shift is taking place in the field of computer processors. For years, processor makers consistently delivered increases in clock rates, so developers enjoyed ...

Java Memory Model – Quick overview and things to notice
In computing, a Memory model describes how threads interact through memory, or more generally specify what assumptions the compiler is allowed to make when generating code for segmented ...

How to Do 100K TPS at Less than 1ms Latency
Martin Thompson and Michael Barker talk about building a HPC financial system handling over 100K TPS at less than 1ms latency by having a new approach to infrastructure and software. ...

ConcurrentLinkedHashMap v 1.0.1 released
Hello all, we released version 1.0.1 of our concurrent LinkedHashMap implementation. In the latest version several minor modifications have been made so as to improve performance when ...

Java Best Practices – Queue battle and the Linked ConcurrentHashMap
Continuing our series of articles concerning proposed practices while working with the Java programming language, we are going to perform a performance comparison between four popular ...


