About Sarma Swaranga
List/Grid Author Archives Subscribe to the RSS feed of Sarma Swaranga

A Generic and Concurrent Object Pool
In this post we will take a look at how we can create an object pool in Java. In recent years, the performance of the JVM has multiplied manifold that object pooling for better performance ...

Solving a Producer-Consumer Problem in Java
The producer-consumer problem is one of the most frequently encountered problems when we attempt multi threaded programming. While not as challenging as some of the other problems ...

Eclipse Shortcuts for Increased Productivity
And so, today, I just wanted to share the best shortcuts that make life easier. And without further ado :Ctrl + Space : One of the two most important keyboard shortcuts that ...

GC with Automatic Resource Management in Java 7
This post provides a brief overview of a new feature introduced in Java 7 called Automatic Resource Management or ARM. The post delves how ARM tries to reduce the code that a developer ...



