Tag

GC Algorithms

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 6, 2024 · Fundamentals

Understanding Java Garbage Collection Algorithms and Their Use Cases

This article provides a comprehensive overview of Java garbage collection, covering the principles of reference counting and reachability analysis, detailing major GC algorithms such as mark‑sweep, copying, and mark‑compact, explaining object allocation strategies, and reviewing traditional and modern collectors like Serial, CMS, and G1, with practical tuning tips for each.

GC AlgorithmsGarbage CollectionJVM
0 likes · 19 min read
Understanding Java Garbage Collection Algorithms and Their Use Cases
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 19, 2024 · Fundamentals

Understanding Go's Garbage Collection: Memory Management, Algorithms, and Evolution

This article explains Go's memory management by detailing stack and heap differences, describing classic and modern garbage‑collection algorithms, tracing the evolution of Go's GC from version 1.3 to 1.8, and outlining a complete GC cycle with practical code examples.

ConcurrencyGC AlgorithmsGarbage Collection
0 likes · 31 min read
Understanding Go's Garbage Collection: Memory Management, Algorithms, and Evolution
Sanyou's Java Diary
Sanyou's Java Diary
Apr 8, 2024 · Fundamentals

What Are the 7 Core Garbage Collection Algorithms and When to Use Them?

This article explains why garbage collection (GC) is essential, defines key GC terminology, compares performance metrics, and provides a detailed overview of seven common GC algorithms—including mark‑sweep, reference counting, copying, mark‑compact, conservative, generational, and incremental GC—along with their advantages, disadvantages, and typical improvements.

GC AlgorithmsGarbage CollectionMemory Management
0 likes · 47 min read
What Are the 7 Core Garbage Collection Algorithms and When to Use Them?
Tencent Cloud Developer
Tencent Cloud Developer
Apr 3, 2024 · Fundamentals

Seven Common GC Algorithms: Principles, Comparisons, and Optimizations

The article surveys seven common garbage‑collection algorithms—Mark‑Sweep, Reference Counting, Copying, Mark‑Compact, Conservative, Generational, and Incremental/Tri‑color—explaining their principles, strengths, weaknesses, evaluation criteria such as throughput and pause time, and practical optimizations, emphasizing that the best choice depends on specific application needs.

GC AlgorithmsGarbage CollectionGenerational GC
0 likes · 42 min read
Seven Common GC Algorithms: Principles, Comparisons, and Optimizations
vivo Internet Technology
vivo Internet Technology
Mar 19, 2024 · Backend Development

Java 8 Memory Management and Garbage Collection Analysis

The article offers a thorough overview of Java 8 memory management, detailing JVM memory regions, object eligibility, major garbage‑collection algorithms and generational models, comparing Serial, Parallel, CMS and G1 collectors, and presenting practical heap‑dump analysis techniques for diagnosing leaks and performance issues.

Backend DevelopmentGC AlgorithmsGarbage Collection
0 likes · 29 min read
Java 8 Memory Management and Garbage Collection Analysis
DeWu Technology
DeWu Technology
Feb 5, 2024 · Fundamentals

Understanding Dart VM Garbage Collection and Memory Management

The article explains Dart VM’s generational garbage collection, detailing object allocation, the young‑generation Scavenge copying collector, old‑generation Mark‑Sweep and Mark‑Compact algorithms, safepoints, write‑barrier mechanics, debugging a write‑protect crash, and the importance of logging for memory‑management analysis.

DartGC AlgorithmsGarbage Collection
0 likes · 33 min read
Understanding Dart VM Garbage Collection and Memory Management
Architect's Guide
Architect's Guide
Dec 29, 2022 · Fundamentals

Understanding Java Garbage Collection Algorithms and JVM GC Strategies

This article explains what constitutes garbage in the Java heap, compares reference‑counting and root‑reachability approaches, demonstrates a reference‑counting example, and reviews the main garbage‑collection algorithms and collectors (Serial, ParNew, Parallel Scavenge, Serial Old, Parallel Old, CMS, G1) used by modern JVMs.

G1GC AlgorithmsGarbage Collection
0 likes · 19 min read
Understanding Java Garbage Collection Algorithms and JVM GC Strategies
Sanyou's Java Diary
Sanyou's Java Diary
Jun 3, 2022 · Fundamentals

Mastering JVM Garbage Collection: Interview Questions and Deep Dive

This article provides a comprehensive overview of JVM memory layout, explains major garbage‑collection algorithms and collectors, details how different memory regions cooperate, and offers practical tuning steps and tool usage for diagnosing GC issues in Java applications.

GC AlgorithmsGarbage CollectionJVM
0 likes · 26 min read
Mastering JVM Garbage Collection: Interview Questions and Deep Dive
Sanyou's Java Diary
Sanyou's Java Diary
Feb 9, 2022 · Fundamentals

Master Java Garbage Collection: Types, Algorithms, and Tuning Tips

This article explains Java garbage collection fundamentals, covering why GC is needed, how it works, reference types, major collection algorithms, generational strategies, specific collectors like CMS and G1, and practical tuning and allocation rules for JVM memory management.

CMSG1GC Algorithms
0 likes · 17 min read
Master Java Garbage Collection: Types, Algorithms, and Tuning Tips
Ops Development Stories
Ops Development Stories
Jan 20, 2022 · Fundamentals

Mastering JVM Garbage Collection: Algorithms, Collectors, and Tuning

This article explains the theory behind JVM garbage collection algorithms, details various collectors such as Serial, Parallel, CMS, and G1, compares their strengths and weaknesses, and explores advanced concepts like three‑color marking, write barriers, SATB, and memory management parameters.

CMSGC AlgorithmsGarbage Collection
0 likes · 19 min read
Mastering JVM Garbage Collection: Algorithms, Collectors, and Tuning
Tencent Cloud Developer
Tencent Cloud Developer
Aug 3, 2021 · Backend Development

Overview of Java Garbage Collection Algorithms and Memory Management

The article explains Java’s automatic memory management, detailing JVM memory regions, object liveness via reachability analysis, allocation strategies, and the main garbage‑collection algorithms—Mark‑Sweep, Mark‑Copy, Mark‑Compact—and compares HotSpot collectors such as Serial, Parallel, CMS and G1, guiding developers to choose the best fit for their workloads.

Backend DevelopmentGC AlgorithmsGarbage Collection
0 likes · 16 min read
Overview of Java Garbage Collection Algorithms and Memory Management
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 30, 2020 · Fundamentals

Understanding Java Garbage Collection: Goals, Algorithms, and Timing

This article explains Java garbage collection by outlining its purpose, the criteria for reclaimable objects through reference counting and reachability analysis, when collection occurs, and the main GC algorithms—including mark‑sweep, copying, mark‑compact, and generational collection—along with common JVM collectors.

GC AlgorithmsGarbage CollectionJVM
0 likes · 9 min read
Understanding Java Garbage Collection: Goals, Algorithms, and Timing
High Availability Architecture
High Availability Architecture
May 29, 2019 · Fundamentals

Understanding OpenJDK Garbage Collectors: Experiments and Performance Analysis

This article examines the pause behavior of various OpenJDK garbage collectors by running a memory‑allocation benchmark, presenting detailed GC logs for G1, Parallel, CMS, Shenandoah, and Epsilon, and drawing conclusions on how to choose the appropriate collector for a given workload.

GC AlgorithmsGarbage CollectionJVM
0 likes · 11 min read
Understanding OpenJDK Garbage Collectors: Experiments and Performance Analysis
Java Captain
Java Captain
Jan 3, 2018 · Fundamentals

Overview of Java Garbage Collection and Memory Management

This article provides a comprehensive overview of Java's garbage collection mechanism, memory regions, object access methods, allocation strategies, GC algorithms, and the various collectors used in the HotSpot JVM, helping developers understand and optimize Java memory usage.

GC AlgorithmsGarbage CollectionJVM
0 likes · 22 min read
Overview of Java Garbage Collection and Memory Management
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Apr 20, 2015 · Fundamentals

Fundamentals of Java Garbage Collection and JVM GC Algorithms

This article explains Java's automatic garbage collection, describes common GC algorithms such as reference counting, mark‑sweep, copying, mark‑compact, incremental and generational collection, classifies JVM collectors, compares their performance impact, and summarizes key JVM GC parameters.

GC AlgorithmsGarbage CollectionJVM
0 likes · 28 min read
Fundamentals of Java Garbage Collection and JVM GC Algorithms
Qunar Tech Salon
Qunar Tech Salon
Jan 6, 2015 · Backend Development

JVM Performance Optimization Part 3 – Garbage Collection

This article explains Java's memory model and garbage collection mechanisms, covering reference counting, tracing collectors, copying and mark‑sweep algorithms, parallel and concurrent collectors, generational GC, and compression techniques, while discussing their trade‑offs, tuning considerations, and impact on application performance.

GC AlgorithmsGarbage CollectionJVM
0 likes · 25 min read
JVM Performance Optimization Part 3 – Garbage Collection