Tagged articles

Garbage Collection

515 articles · Page 6 of 6
dbaplus Community
dbaplus Community
May 20, 2016 · Databases

Inside TiKV: MVCC Mechanics and Distributed Transaction Design

This article explains how TiKV implements multi-version concurrency control (MVCC) on top of RocksDB and details its two‑phase commit transaction model, including Prewrite and Commit phases, Percolator‑style optimizations, lock handling, conflict resolution, and garbage‑collection strategies.

Garbage CollectionMVCCPercolator
0 likes · 14 min read
Inside TiKV: MVCC Mechanics and Distributed Transaction Design

Understanding the G1 (Garbage‑First) Garbage Collector in Java

The article explains the design, operation, and performance characteristics of Java's G1 (Garbage‑First) collector, covering its parallelism, generational approach, space‑efficiency, pause‑time predictability, implementation details, execution phases, benchmark results, and practical recommendations for choosing a collector.

G1Garbage CollectionJVM
0 likes · 16 min read
Understanding the G1 (Garbage‑First) Garbage Collector in Java
DevOps
DevOps
Apr 7, 2016 · Fundamentals

The Story of a Java Class in the JVM

Through a whimsical tale of a class named Account, the article explains Java class loading, the hierarchy of classloaders, bytecode execution, the method area, stack, heap, garbage collection, and debugging, providing an engaging overview of JVM fundamentals.

ClassLoaderGarbage CollectionJVM
0 likes · 13 min read
The Story of a Java Class in the JVM
21CTO
21CTO
Mar 23, 2016 · Frontend Development

How to Slash Front‑End Lag: Mastering GC, Closures, and Pre‑Fetch Techniques

This article explains how modern front‑end performance challenges—especially JavaScript garbage collection, closure‑induced memory waste, and the need for page pre‑fetching—can be mitigated with techniques like Emscripten‑based memory management and strategic use of dns‑prefetch, pre‑fetch, and pre‑render tags.

EmscriptenGarbage CollectionJavaScript optimization
0 likes · 8 min read
How to Slash Front‑End Lag: Mastering GC, Closures, and Pre‑Fetch Techniques
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Nov 25, 2015 · Backend Development

Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection

This article explains Node.js memory architecture, how the V8 engine allocates and frees memory across code, stack, and heap, demonstrates using process.memoryUsage() to monitor RSS, heapTotal and heapUsed, describes V8’s Scavenge and Mark‑Sweep garbage collectors, and provides practical techniques for detecting and debugging memory leaks with heap snapshots and profiling tools.

Garbage CollectionNode.jsPerformance
0 likes · 12 min read
Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection
WeChat Client Technology Team
WeChat Client Technology Team
Sep 28, 2015 · Fundamentals

Mastering C# Memory Management and WP Leak Detection Techniques

This article explains C#'s managed and unmanaged resource handling, memory regions, garbage‑collection algorithms, generational GC, finalizers, the IDisposable pattern, value vs. reference types, and practical methods for discovering and pinpointing memory leaks in Windows Phone applications.

C++Garbage CollectionIDisposable
0 likes · 16 min read
Mastering C# Memory Management and WP Leak Detection Techniques
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2015 · Fundamentals

Unlocking Java Memory: How Garbage Collection Works and Why It Matters

This article explores Java's garbage collection mechanisms, detailing why memory reclamation is essential, the design considerations, various algorithms such as mark‑sweep, copy, and compact, the roles of different collectors like Serial, Parallel, CMS, and G1, and how they impact performance.

GC algorithmsGarbage CollectionJVM
0 likes · 8 min read
Unlocking Java Memory: How Garbage Collection Works and Why It Matters
Qunar Tech Salon
Qunar Tech Salon
Jan 8, 2015 · Fundamentals

Understanding JVM Performance Limits and Tuning Strategies

The article examines the inherent scalability constraints of the JVM, explains how memory walls and pause times affect enterprise Java applications, and presents practical tuning parameters and architectural considerations to mitigate performance bottlenecks in production environments.

Garbage CollectionJVMJava
0 likes · 18 min read
Understanding JVM Performance Limits and Tuning Strategies
Qunar Tech Salon
Qunar Tech Salon
Jan 7, 2015 · Fundamentals

Understanding the C4 Garbage Collector: A Concurrent Continuously Compacting Collector for Low‑Latency Java Applications

This article explains the design, phases, and practical implications of the C4 concurrent continuously compacting garbage collector, comparing it with G1 and IBM's Balanced GC, and provides guidance on when to choose C4 for enterprise Java workloads requiring low pause times and high scalability.

C4Garbage CollectionJVM
0 likes · 21 min read
Understanding the C4 Garbage Collector: A Concurrent Continuously Compacting Collector for Low‑Latency Java Applications
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
Qunar Tech Salon
Qunar Tech Salon
Jan 3, 2015 · Fundamentals

Introduction to the Java Virtual Machine: Architecture, Garbage Collection, and Performance

This article provides a comprehensive overview of the Java Virtual Machine, explaining its role in enabling "write once, run anywhere," detailing the compilation process, JIT optimization, memory allocation strategies such as TLAB, various garbage‑collection algorithms, and how these factors impact Java application performance and scalability.

Garbage CollectionJITJVM
0 likes · 19 min read
Introduction to the Java Virtual Machine: Architecture, Garbage Collection, and Performance
MaGe Linux Operations
MaGe Linux Operations
Dec 15, 2014 · Fundamentals

Mastering JVM Garbage Collectors: Which One Fits Your Application?

This article explains the main JVM garbage collectors—including Serial, ParNew, Parallel Scavenge, Serial Old, Parallel Old, CMS, and G1—detailing their algorithms, use cases, advantages, and configuration options, and provides visual diagrams and parameter tables for clear understanding.

Garbage CollectionJVMJava
0 likes · 8 min read
Mastering JVM Garbage Collectors: Which One Fits Your Application?
Qunar Tech Salon
Qunar Tech Salon
Nov 10, 2014 · Fundamentals

Introduction to Java Memory Allocation and Garbage Collection

This tutorial introduces Java's automatic memory allocation and garbage collection managed by the JVM, explains key terminology such as JDK, JVM, JRE, outlines the JVM architecture and heap memory structure—including young, old, and permanent generations—providing essential fundamentals for understanding Java GC.

Garbage CollectionJVMJava
0 likes · 6 min read
Introduction to Java Memory Allocation and Garbage Collection
Baidu Tech Salon
Baidu Tech Salon
Aug 14, 2014 · Fundamentals

Static vs Dynamic Languages, Functional Programming, Garbage Collection, and Recommended Programming Languages for the Future

The article compares static and dynamic typing, functional programming, garbage collection, and virtual machines, then advises developers to focus on versatile, future‑proof languages such as JavaScript/HTML5/CSS3, C#, Java, PHP, Swift, and optionally Erlang, emphasizing deep mastery over fleeting trends.

Garbage CollectionLanguage Selectionfunctional programming
0 likes · 14 min read
Static vs Dynamic Languages, Functional Programming, Garbage Collection, and Recommended Programming Languages for the Future