It's great to explore the world of Virtual Threads, a powerful feature in Java that promises to revolutionize multi-threaded applications. In this article, we'll delve into how Virtual Threads can enhance your application's performance and scalability, all while keeping thread management overhead very minimal. Let's embark on this journey to harness the full potential of... Continue Reading →
Java Collection Overhead
The Java Virtual Machine enables Java applications to be platform-independent while optimizing performance. One crucial component to understand, when considering performance, especially memory utilization, is how the Java Collections Framework, specifically the ArrayList, handles size and capacity. In this article, we will concentrate on the overhead caused by lists that contain two or three elements.... Continue Reading →
How to reduce CPU consumption caused by Garbage Collection?
All the modern programming languages such as Golang, nodejs, Java, .net, python,.... does automatic garbage collection to remove unreferenced objects from memory. While this automatic garbage collection provides convenience to developers, it can come at a cost: excessive CPU consumption. The constant cycles devoted to garbage collection causes couple of side effects: a. Degradation in... Continue Reading →