Java
-
Use JMH for your Java applications with Gradle
If you want to benchmark you code, the Java Microbenchmark Harness is the tool of choice.In our example we shall…
Read More » -
Reactive’s Looming Doom. Part II: Fundamentals of Reactive
1. Introduction The last post provided a comparison of multi-threading APIs throughout Java’s lifespan. In this post, we will dive…
Read More » -
Reactive’s Looming Doom. Part I: Evolution
1. Introduction Multithreading in Java has come a long evolutionary way from the original monitor concept and threads mapped to…
Read More » -
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 » -
Troubleshooting deadlock in an Apache opensource library
Apache PDFBox is a popular open-source library that facilitates java applications to work with PDF documents. Recently we encountered a…
Read More » -
Skaffold for Local Java App Development
Skaffold is a tool which handles the workflow of building, pushing and deploying container images and has the added benefit of…
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 »