commit | 09f26fdadfad0e2e5fed4f377b564213d894bf49 | [log] [tgz] |
---|---|---|
author | djasper <djasper@google.com> | Mon Nov 30 06:16:18 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 30 06:17:57 2020 -0800 |
tree | 6c928149cbe13767f06cbcda785b50f394124ff5 | |
parent | f38e293317088396163115cec07099026d63533e [diff] |
Reduce needless contention in the include scanner's fileParseCache. The computeIfAbsent() function of ConcurrentHashMap is supposed to have a fast implementation and the map will then allow ~number of processors concurrent writes. However, reading a file and extracting the include lines can be a costly IO operation that does not fit this bill. Use futures instead. RELNOTES: None. PiperOrigin-RevId: 344799253
{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:
See CONTRIBUTING.md