Files
Michael Lippautz 706e65190d [security] Improve docs around DCHECK vs CHECK
The triaging section around DCHECK vs CHECK was slightly ambiguous and
led to misguiding LLMs into downgrading DCHECK failures.

TAG=agy
CONV=bdd31dee-b08b-48bd-a5f8-d867bb3435ca

Bug: 495388612
Change-Id: Ib2acc18f7a3fb52b33bf305945c1c12f285ed12b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8610106
Reviewed-by: Arash Kazemi <arashk@chromium.org>
Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#110894}
2026-10-19 02:59:21 -07:00
..
2026-07-01 07:03:12 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00
2026-07-01 07:03:12 -07:00
2026-04-13 01:37:04 -07:00
2026-07-01 07:03:12 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00
2026-03-31 09:18:28 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00
2026-04-13 01:37:04 -07:00

V8 Internals Documentation

This directory contains deep-dive documentation into V8 internals, generated from source code analysis. For general documentation, see v8.dev/docs.

Table of Contents

General

Heap and Memory

  • Heap Overview: General overview of V8's paged heap and object layout.
  • Garbage Collection: Overview of V8's generational GC.
  • Marking and Sweeping: Deep dive into Major GC phases.
  • Roots: How V8 manages root objects and static roots.
  • Handles: V8's mechanism for safe heap object references (Indirect vs Direct).
  • Heap Compaction: How V8 resolves memory fragmentation in the Old Generation.
  • Pointer Compression: Technique to reduce memory footprint on 64-bit architectures.
  • Pointer Tagging: How V8 encodes type information in pointers (Smis vs HeapObjects).
  • Zone Allocator: Region-based memory manager for fast allocation and batch deallocation.

Object Model

Sandbox

  • Architecture: V8's in-process sandbox to protect memory outside of it.

Torque

Builtins

  • Architecture: How V8 implements standard library and runtime helpers (Torque, CSA, C++, ASM).
  • Torque Tutorial: Introduction to writing Torque builtins.

Code Generation

RegExp

WebAssembly

  • Architecture: V8's WebAssembly implementation, including Liftoff and Turboshaft tiers.

Snapshots

  • Architecture: V8's snapshot and serializer system for fast startup.

Execution - Runtime

Compiler

Sparkplug

Maglev

TurboFan

Turboshaft

Common

Parsing