Measuring Time: From Java to Kernel and Back

Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: throug… Read more

Similar

Java – Project Lilliput

In 64-bit Hotspot, Java objects have an object header of 128 bits: a 64 bit multi-purpose header (‘mark’ or ‘lock’) word and a 64-bit class pointer. With typical average object sizes of 5-6 words, this is quite significant: 2 of those words are al... (more…)

Read more »

Awk in Java with JBang

A few days ago I learned about pz. A Python that exposes a few simple one-letter shorthands for line-based editing of pipes at the command-line. I immediately thought there could be potential. (more…)

Read more »