Record the boot thread state: we should initialize threads with the thread that started Vernier
Record GC events
I configured this to use Tracepoint events. The downside is that it looks like any GC related tracepoint events will cause the GC to do slowpath allocations.
This PR has two commits:
I configured this to use Tracepoint events. The downside is that it looks like any GC related tracepoint events will cause the GC to do slowpath allocations.
In the allocator, this conditional determines if we should do a slowpath allocation. That macro simply looks at
has_hook
on objspace. It looks like that boolean will get set to true for any GC event, not just object allocation events.Here are the GC lifecycle events and the corresponding mask
That said, I still think we should use the tracepoint events.