fix-ocaml-gc
Installation
SKILL.md
Fixing OCaml Garbage Collector Bugs
This skill provides guidance for diagnosing and fixing bugs in the OCaml garbage collector runtime, with emphasis on memory management issues in sweeping, allocation, and free-list handling code.
When to Use This Skill
- Debugging segfaults or memory corruption in OCaml's C runtime
- Fixing bugs in the GC's sweeping or allocation logic
- Working with size-classed memory pools and free block management
- Investigating pointer arithmetic issues in memory managers
- Analyzing run-length encoded free lists
Environment Setup
Establish Context First
Before making any changes: