portrait

End of Line blog

Thoughts on software development, by Adam Ruka

Latest articles

Running a single JMH benchmark with Gradle

The Gradle build system makes it very easy to use the JMH library to write benchmarks for your Java code. However, one tricky thing when combining Gradle and JMH is the ability to run a single benchmark when invoking your build. In this article, I'll show a simple setup that, with just a few lines of code in your build script, allows you to easily select what benchmark you want to invoke when running your Gradle build.


Graal Truffle tutorial part 15 – exceptions

In the fifteenth part of the Truffle tutorial, we implement exception handling - throwing them, catching them, and making sure they provide the correct stack traces. Along the way, we will learn about new Truffle concepts like source sections, stack trace elements, and more.


Jilt 1.6 supports Functional Builders

With the latest release, Jilt, my Java library for auto-generating Builder classes, now supports a new style of Builders, called Functional Builders.


All articles »