Core Java
-
Smaller Try-Blocks Are Better
It often happens, especially in Java, that a few places in the method are potential exception originators. Usually, we make…
Read More » -
Chaos Engineering – Metaspace OutOfMemoryError
JVM memory has following regions: a. Young Generation b. Old Generation c. Metaspace d. Others region When you encounter ‘java.lang.OutOfMemoryError:…
Read More » -
Inspect the contents of the Java Metaspace region
JVM Memory has following regions: a. Young Generation b. Old Generation c. Metaspace d. Others region To see what objects…
Read More » -
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 » -
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 » -
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 » -
Declarative and Immutable Pipeline of Transformations
A few months ago I made a small Java library, which is worth explaining since the design of its classes…
Read More » -
The Case Against Logging
The one thing that all enterprise applications have in common, regardless of their framework, language, or communication protocols is that…
Read More » -
Reflection Means Hidden Coupling
Reflective programming (or reflection) happens when your code changes itself on the fly. For example, a method of a class,…
Read More »