Bazel Java¶
Daemonitor classifies Java persistent workers and JVM test runners spawned by Bazel with build_system: BAZEL, runtime: JVM, and toolchain: JAVA.
Recognized Java processes¶
| Process | Process type | Classification | Matching signatures |
|---|---|---|---|
| Java persistent worker | BAZEL_WORKER |
BAZEL / JVM / JAVA |
--persistent_worker with JavaBuilder_deploy.jar, VanillaJavaBuilder, or rules_java |
| JVM test runner | BAZEL_TEST |
BAZEL / JVM / JAVA |
com.google.testing.junit.runner.BazelTestRunner or -Dbazel.test_suite= |
Telemetry¶
- OS metrics: Full OS accounting (RSS, CPU, threads, I/O, page faults, context switches, descriptors/handles).
- JVM telemetry: Eligible for bounded live
jcmd,jstat, andjinfoprobing wheneverruntime == JVMand the underlying executable is a JVM binary (java/javaw). Wrapper scripts such astest-setup.share classified asNATIVEand skipped by JVM probes. - UI presentation: Displayed as
Java worker(orBazel test) inside the Bazel section of Desktop and TUI.