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 […]

tech

DNS

Posted on

How does DNS works? When you are browsing to https://nickvanhoof.com, how does your machine know where to find the address of nickvanhoof.com It turns out that when you are going to nickvanhoof.com, you are actually surfing towards the address 52.212.73.201.  The moment you type nickvanhoof.com and hit enter, how is this domain name linked to that […]