aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java
diff options
context:
space:
mode:
authorGravatar nharmata <nharmata@google.com>2017-12-21 15:20:49 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-21 15:22:38 -0800
commit6dcc1393545180d9949d6f797f41a5bfb9758d60 (patch)
treebfde6c235769a3944765a8435bdc40d02bd2be17 /src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java
parent33657fba55e534cdee6cdf1249689bdf3560347d (diff)
Some performance improvements to AbstractPackageLoader.
(i) Share the syscall cache used for legacy globbing with the CachingPackageLocator also used by legacy globbing, otherwise it's not very "caching" :( (ii) Have the concurrency level of the syscall cache used by legacy globbing be set to the number of legacy globbing threads. This actually isn't a huge deal because of (i), since that removes a ton of duplicate cache lookups that would otherwise contend, but there's no reason not to do this. RELNOTES: None PiperOrigin-RevId: 179865599
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java')
0 files changed, 0 insertions, 0 deletions