Core Java
-
Java Memory Profiling Simplified
As a typical Java developer I never monitored the memory usage of my application apart from following typical best practices…
Read More » -
Changing delay, and hence the order, in a DelayQueue
So I was looking at building a simple object cache that expires the objects after a given time. The obvious…
Read More » -
Project Jigsaw: The Consequences of Deferring
Mr. Mark Reinhold has announced in July 2012 that they were planning to withdraw Project Jigsaw from Java 8 because…
Read More » -
Resource Bundle Tricks and Best Practices
Today is resource bundle day. This is the most well known mechanism for internationalization (i18n) in Java in general. Working…
Read More » -
BTrace: hidden gem in Java developer toolbox
This post is about BTrace which I am considering as a hidden gem for Java developer. BTrace is a safe,…
Read More » -
Java 7: HashMap vs ConcurrentHashMap
As you may have seen from my past performance related articles and HashMap case studies, Java thread safety problems can…
Read More » -
Which Java thread consumes my CPU?
What do you do when your Java application consumes 100% of the CPU? Turns out you can easily find the…
Read More » -
Java memes which refuse to die
Also titled; My pet hates in Java coding. There are a number of Java memes which annoy me, partly because…
Read More » -
Java Enums: You have grace, elegance and power and this is what I Love!
While Java 8 is coming, are you sure you know well the enums that were introduced in Java 5? Java…
Read More »