Switching from Disqus to Giscus (GitHub Discussions) 2022-10-16 In the story of this blog I used WordPress, and using the WordPress comments then moved to Discus as it was better at handling spam. Then I switched this blog to GitHub with first Jekyll with markdown then finally to Hugo, this worked well enough. ...
Using Linux's memfd_secret syscall from the JVM with JEP-419 2022-05-16

Linux 5.14 brought a new system call memfd_secret in order to mitigate speculative attack by preventing the kernel from being able to peek at these memory segments. Let’s use this syscall from the JVM with the JEP-419 API.

A practical look at JEP-412 in JDK17 with libsodium 2021-09-04

JDK 17 is coming and with the incubating JEP-412, let’s have a practical look at this API that should supersede JNI.

A practical look at JEP-389 in JDK16 with libsodium 2021-02-20

JDK 16 is coming and with the incubating JEP-389, let’s have a practical look at this API that should supersede JNI.

Anonymous CompletableFuture threads with burstable pods 2020-12-11

It all started when opening a JFR recording, I noticed a very large and growing number of very short lived threads.

Off-Heap memory reconnaissance 2020-11-30

Understand the RSS of a JVM leveraging the horsepower underneath ps with the help of one or two JVM diagnostic command.

MaxRamPercentage is not what I wished for 2020-10-27 This entry has been marinating for most of the year 2020. I should have published this opinion way earlier maybe end of 2019, but it took me time to realise I should split a bigger piece in smaller articles that hopefully made sense on their own. ...
Reads network addresses in /proc 2020-10-23 If you happen to be on a read only container that doesn’t have the usual network utilities, like netstat, ss (socket stat), lsof, etc then your only option is to leverage procfs, however procfs displays some data in hexadecimal. ...
Embracing JVM unified logging (JEP-158 / JEP-271) 2020-07-28 Unified logging was introduced in JDK 9, and is available for us all, in the JDK 11 LTS. Like other great serviceability feature (jcmd or JFR) this was inspired by JRockit. ...
Using JDK FlightRecorder and JDK Mission Control 2020-06-28 JDK Flight Recorder, the profiler you can use in production, continuously. Flight Recorder has been available before in the JDK, e.g. it shipped as part of the JDK 8, but to use it, it demanded a to set specific commercial VM flags to unlock FlightRecorder, this is not anymore necessary with Java 11. ...