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
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Mar 26, 2015 | The Four Month Bug: JVM statistics cause garbage collection pauses by osi | 131 | 30 |
| Sep 19, 2024 | JVM statistics cause garbage collection pauses (2015) by tosh | 79 | 40 |