commit | b9bf36144d90a9fed02cd3d4173275dfa2571dc1 | [log] [tgz] |
---|---|---|
author | Jingwen Chen <jingwen@google.com> | Mon Apr 20 06:24:00 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 20 06:25:26 2020 -0700 |
tree | ada56b36993e31aaf07a0156abcfb6194db3cd95 | |
parent | ca247cea30531b0bf6b1b0db3ecf54348f8d5992 [diff] |
Move Ninja's PathFragment interner from NinjaParserStep to NinjaPipeline, and make it non-static. Make the Ninja PathFragment interner non-static, and share it across lexer/parser execution threads, reducing the number of PathFragment weak references by ~99.8%. While the lexer/parser is executed across threads, Guava interners are thread-safe, so it's safe to reference it from NinjaPipeline. Closes #11160. PiperOrigin-RevId: 307386234
{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