• Eric Karl's avatar
    Limit ServiceTransferCache to 2k entries · 7c8d8703
    Eric Karl authored
    Currently, the transfer cache has a large (128MB) memory limit, but no
    limit on individual entries. As we have the potential to flood the
    cache with thousands of small entries, causing an explosion of handle
    allocations, I've added a 2000 element cap.
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I1245220bca1ea47546be7d28eaea2e494e3468db
    Reviewed-on: https://chromium-review.googlesource.com/1147311Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
    Commit-Queue: Eric Karl <ericrk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577312}
    7c8d8703
service_transfer_cache.h 3.91 KB