bazelbuild/bazel
View on GitHubplace "Garbage Collector" profile track near system stats
Open
#29,310 opened on Apr 15, 2026
P4help wantedteam-Remote-Exectype: feature request
Repository metrics
- Stars
- (25,384 stars)
- PR merge metrics
- (Avg merge 11d 12h) (44 merged PRs in 30d)
Description
The "Garbage Collector" profile track is sorted to the top of the perfetto UI by https://github.com/bazelbuild/bazel/blob/ee72e6ddbcf19db6e4ddf127bde56ca5676de780/src/main/java/com/google/devtools/build/lib/profiler/ThreadMetadata.java#L89. In paticular, it's often useful to examine the GC track in conjunction with the memory tracks. While it's possible to reorganize the tracks in the Perfetto UI, I propose to move the GC track down by the rest of the system stats by default.