AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Do You Have a D-Trace Script?
A bug in Go was causing problems with memory allocation. The author wanted to know how many objects were being allocated from one block of memory, so he wrote a D-Trace script that would trace all the allocations and then also trace the GC sweep operations. He says this is an example of using post-mortem analysis as well as dynamic tracing when you're trying to figure out what's going on.