Multithreading
-
Core Java
Using Executors.newVirtualThreadPerTaskExecutor() in Java
Java introduced virtual threads with Project Loom to simplify concurrency and improve the scalability of applications. Virtual threads are lightweight…
Read More » -
Java
Reactive’s Looming Doom. Part IV: The End Of Reactive?
1. Introduction The last post discussed advanced concepts of the reactive approach and highlighted use cases where it shines. This post…
Read More » -
Java
Reactive’s Looming Doom. Part III: Advanced Reactive
1. Introduction The last post presented the fundamental concepts of the reactive approach, including a specification and its implementation. Now it is time…
Read More » -
Java
Reactive’s Looming Doom. Part II: Fundamentals of Reactive
1. Introduction The last post provided a comparison of multi-threading APIs throughout Java’s lifespan. In this post, we will dive…
Read More » -
Java
Reactive’s Looming Doom. Part I: Evolution
1. Introduction Multithreading in Java has come a long evolutionary way from the original monitor concept and threads mapped to…
Read More » -
Core Java
The dreaded double checked locking idiom in Java
The issue discussed in this article is not new, but still tricky even for seasoned developers. The singleton pattern is a…
Read More » -
Core Java
Java Best Practices – DateFormat in a Multithreading Environment
This is the first of a series of articles concerning proposed practices while working with the Java programming language. All…
Read More »