commit | 6fae20855fdf6cd18f3868232cabf2ed14d9508a | [log] [tgz] |
---|---|---|
author | Googler <tjgq@google.com> | Tue Sep 24 03:14:57 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 24 03:16:44 2024 -0700 |
tree | 7cb9c05b7b53a4725f477b3faa7de1bc960c30a0 | |
parent | e9a18ce24b176f0d9a46af341ed44895c06b7214 [diff] |
Add the ability to register idle tasks. Modules may now register idle tasks via CommandEnvironment.addIdleTask(). When the server becomes idle, IdleTaskManager (previously called IdleServerTasks) runs registered tasks in series, followed by a final task which triggers a GC and shrinks interner pools. Pending tasks will be interrupted if the server becomes busy again, but IdleTaskManager waits for them to terminate orderly before letting a new command run. PiperOrigin-RevId: 678167274 Change-Id: Iae17d4dd304b24b401a6c45986d4c0d861902113
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md