bazelbuild/bazel

place "Garbage Collector" profile track near system stats

Open

Aperta il 15 apr 2026

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Java (25.384 star) (4465 fork)batch import
P4help wantedteam-Remote-Exectype: feature request

Descrizione

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.

Guida contributor