Java

JMH – BenchMarking

Posted on

Java Microbenchmark Harness is part of the Java 9 release. JMH takes care of JVM warm-up and code-optimization paths, making benchmarking as simple as possible and excluding as many test influences as possible. It gives you an easy way of specifying how many warmup and test iterations you want to do. It will also fork […]

Java

Reflection

Posted on

Reflection is a language’s ability to inspect and dynamically call classes, methods, attributes, etc. at runtime. Even if you do not know the type of the object at compile time, it is possible to call it’s methods, get it’s properties … at runtime. In Java Objects have the getClass() method that allows you to find the object’s class […]