Concurrency
-
Core Java
Java 8 LongAdders: The Right Way To Manage Concurrent Counters
I just lOvE new toys, and Java 8 has a bunch of them. This time around I want to talk…
Read More » -
Core Java
Java 8 Friday Goodies: Lean Concurrency
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Enterprise Java
Using Java EE’s ManagedExecutorService to asynchronously execute transactions
One year has passed by since the Java EE 7 specification has been published. Now that Wildfly 8 Final has…
Read More » -
Core Java
Java: Handling a RuntimeException in a Runnable
At the end of last year I was playing around with running scheduled tasks to monitor a Neo4j cluster and…
Read More » -
Core Java
Hardware Transactional Memory in Java, or why synchronized will be cool again
Overview Hardware Transaction Memory has the potential to allow multiple threads to speculatively access the same data structure at the…
Read More » -
Core Java
Applying ForkJoin – from optimal to fast
JDK 7 is well into the hands of developers by now and most people have heard of ForkJoin, yet not…
Read More » -
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Core Java
Java final fields on x86 a no-op?
I have always enjoyed digging in to the details of multi-threaded programming, and always enjoy that despite reading for years…
Read More »