HttpClient
2026-02-08
This article explains 10+ reasons why after 14 JDK releases the JDK’s HttpClient introduced with Java 11 is unlikely to be the best option in your app.
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. Then lately I’ve been a bit more displeased by the Disqus editing capability (no markdown (or asciidoc) support, no preview). More people tend to have a GitHub account than a Disqus account (for tech blogs). Also, GitHub introduced GitHub Discussions which was appealing to use with blogs.
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.
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.
ps with the help of one or two JVM diagnostic command.
-XX: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.
/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.
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.