Building a Custom Java Diagnostic Agent
This article outlines the development of a lightweight, non-intrusive Java diagnostic tool similar to Arthas. It is packaged as a standalone JAR that can be attached to any running JVM to perform runtime inspections. The core features include:
Inspecting heap and non-heap memory usage
Checking direct buffer allocation
Capturing heap dumps
Dump ...
Posted on Sat, 22 Aug 2026 16:20:12 +0000 by jguy
Memory-Safe Queue Implementations: Preventing OutOfMemoryErrors in Java Applications
Hello everyone.
Recently, I came across an interesting pull request in an open-source project on GitHub:
Just from the name containing "MemorySafe", I was immediately intrigued.
Let me show you what caught my attention:
This should look familiar - I took this screenshot from Alibaba's development guidelines.
Why are FixedThreadPool an ...
Posted on Sat, 16 May 2026 13:05:50 +0000 by hungryOrb