genpark-mark-sweep-tri-color-gc-skill
mcp
Warn
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Pass
- Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Tri-color abstraction mark-and-sweep garbage collection engine with worklist traversal
README.md
Tri-Color Mark-and-Sweep Garbage Collection Skill
Robust, zero-dependency Python implementation of Tri-Color Mark-and-Sweep Garbage Collection.
Features
- Tri-Color Abstraction: Strictly separates White (unvisited candidate garbage), Gray (in-progress), and Black (reachable).
- Exact Graph Reachability: Completely prevents dangling pointers and leaks.
- Zero External Dependencies: Pure Python standard library.
- Native MCP Protocol: JSON-RPC 2.0 stdio server compatible with Claude Desktop, Cursor, and Windsurf.
Architecture
graph TD
Root["GC Roots"] --> Gray["Gray Stack (Discovered)"]
Gray --> Traverse["Scan References"]
Traverse --> Black["Black Set (Reachable Keep)"]
Sweep["Sweep Step"] --> White["White Set (Unreachable -> Deallocate)"]
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found