Evan Jones personal blog

The Four Month Bug: JVM statistics cause garbage collection pauses

TL;DR: The JVM by default exports statistics by mmap -ing a file in /tmp (hsperfdata). On Linux, modifying a memory mapped file can block until disk I/O completes, which can be hundreds of milliseconds. Since the JVM modifies these statistics during garbage collection and safepoints, this causes pauses that are…
Points
131
HN comments
70
Submissions
2
Cited by
0 commenters

Systems & Performance2015

On Hacker News

SubmittedTitle on HNPointsComments
Mar 26, 2015The Four Month Bug: JVM statistics cause garbage collection pauses by osi13130
Sep 19, 2024JVM statistics cause garbage collection pauses (2015) by tosh7940

More from Evan Jones

All 11 posts →

Related posts from the same era