---
title: "Discussion on \"Understanding Garbage Collection (GC) and Stop-The-World (STW) in the JVM\" | Hashnode"
description: "Discussion on \"Understanding Garbage Collection (GC) and Stop-The-World (STW) in the JVM\". Detailed look at Java Garbage Collection — Eden, Survivor, Old Generation, Stop-The-World pauses, and how G1 reclaims memory safely"
url: "https://hashnode.com/posts/understanding-java-garbage-collection-and-stop-the-world/68edee84bf1217e35f02d683"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding Garbage Collection (GC) and Stop-The-World (STW) in the JVM](https://krishnakrmahto.hashnode.dev/understanding-java-garbage-collection-and-stop-the-world?utm_source=hashnode&utm_medium=feed)

Detailed look at Java Garbage Collection — Eden, Survivor, Old Generation, Stop-The-World pauses, and how G1 reclaims memory safely

Oct 14, 2025 · 7 min read · krishnakrmahto.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#garbagecollection](https://hashnode.com/tag/garbagecollection)
-   [#jvm](https://hashnode.com/tag/jvm)
-   [#performance](https://hashnode.com/tag/performance)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#system-design](https://hashnode.com/tag/system-design)

## Written by

[Krishna Kumar Mahto](https://hashnode.com/@krishnakrmahto)

@krishnakrmahto · Bangalore, IN

  
[View profile](https://hashnode.com/@krishnakrmahto)

Software Engineer - Backend

Software Engineer - Backend

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
