bazelbuild/bazel

place "Garbage Collector" profile track near system stats

Open

#29.310 geöffnet am 15. Apr. 2026

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (4.465 Forks)batch import
P4help wantedteam-Remote-Exectype: feature request

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 2h) (36 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide