Profile garbage collection?

Is there a way to profile the garbage collection? For example, to trace which are the variables that are being collected?

Is Profiling · The Julia Language what you want?

1 Like

Maybe, I will try it. Thanks!

Some profiling options in source code:

https://github.com/JuliaLang/julia/blob/eea8b14a704d3160593a49dd01cc254ebf18d514/src/options.h#L72-L84

And some WIP profile tools:

https://github.com/JuliaLang/julia/pull/42286

https://github.com/JuliaLang/julia/pull/42768

1 Like