javascriptcore-garbage-collector
A contributor reference in the Bun repository on how JavaScriptCore's garbage collector works inside Bun, for debugging use-after-free bugs, leaks and objects freed too early, or for writing native code that touches the collector.
O que a skill ensina
A contributor reference in the Bun repository on how JavaScriptCore's garbage collector works inside Bun, for debugging use-after-free bugs, leaks and objects freed too early, or for writing native code that touches the collector. It covers how roots are found, including conservative stack scanning and its limits, the cell header and write barriers, allocation in isolated subspaces, the rules for tracing hooks that run concurrently, opaque roots, weak references and finalisers, Bun's pattern of holding a strong reference only while work is active, reporting extra native memory, and heap snapshots. A table helps pick the right way to keep an object alive, and environment variables for stress-testing the collector are listed.
O que faz
- Diagnose use-after-free and premature collection bugs
- Choose a keep-alive mechanism for native objects
- Write tracing hooks and write barriers safely
- Stress the collector with debug environment variables
Sobre
- Publicador
- Oven (Bun)
- Ferramenta
- Depuração
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Depuração | |
| Publicador | Oven (Bun) | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | NOASSERTION | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202696.758 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de Oven (Bun)
6 skills
- slowest-tests (Skill)
- verify (Skill)
- implementing-jsc-classes-cpp (Skill)
- implementing-jsc-classes-rust (Skill)
- rust-system-calls (Skill)
Também listado em: Depuração
Fontes
- Arquivo da skill (SKILL.md)github.com/oven-sh/bun · Comprova: Inclui scripts, Licença10 de nov. de 2026
- Repositório no GitHubgithub.com/oven-sh/bun · Comprova: Publicador, Atividade11 de nov. de 2026
- Pasta no repositório (javascriptcore-garbage-collector)github.com/oven-sh/bun · Comprova: Inclui scripts10 de nov. de 2026