-
Core Java
Java String intern(): Performance impact
java.lang.String#intern() is an interesting function in Java. When used at the right place, it has potential to reduce overall memory…
Read More » -
Core Java
In which region intern strings are stored?
intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential…
Read More » -
Core Java
Garbage Collection CPU Statistics
When a Garbage Collection event runs, it spends a predominant amount of its time in the Java application layer. It…
Read More » -
Core Java
JVM c1, c2 compiler thread – high CPU consumption?
c1, c2 compiler threads are created by Java virtual machine to optimize your application’s performance. Occasionally these threads will tend…
Read More » -
Web Development
Troubleshooting HTTP 502 bad gateway in AWS EBS
The application that we are going to discuss in this post was running on Elastic Beanstalk (EBS) service in Amazon…
Read More » -
Core Java
Java class loading – performance impact!
java.lang.ClassLoader#loadClass() API is used by 3rd party libraries, JDBC Drivers, frameworks, application servers to load a java class into the memory.…
Read More » -
Core Java
Java Hashtable, HashMap, ConcurrentHashMap – Performance impact
There are a good number of articles that articulate functional differences between HashMap, HashTable and ConcurrentHashMap. This post compares the…
Read More » -
Core Java
Java UUID generation – Performance impact
Java developers tend to use ‘java.util.UUID#randomUUID()’ API, to generate a UUID (Universally Unique Identifier) number (i.e., ‘b8bbcbed-ca07-490c-8711-5118ee0af2f9’). Under certain circumstances, using this…
Read More » -
Software Development
Garbage Collection tuning success story – reducing young gen size
When you tune Garbage collection performance, you are not only improving Garbage collection pause time but also the overall application’s…
Read More »