summaryrefslogtreecommitdiff
path: root/lib/freebl/freebl_hash.def
diff options
context:
space:
mode:
authorRobert Relyea <rrelyea@redhat.com>2020-04-18 17:11:20 -0700
committerRobert Relyea <rrelyea@redhat.com>2020-04-18 17:11:20 -0700
commit1341c7c22ce500a11d92350131baa5f28dc1390d (patch)
tree124265908646edde56da5f6bc37bd1646c96ebe3 /lib/freebl/freebl_hash.def
parent4d1581bb5839991012507f409e02d72857591bc7 (diff)
downloadnss-hg-1341c7c22ce500a11d92350131baa5f28dc1390d.tar.gz
Bug 1603801 [patch] Avoid dcache pollution from sdb_measureAccess() r=mt
As implemented, when sdb_measureAccess() runs it creates up to 10,000 negative dcache entries (cached nonexistent filenames). There is no advantage to leaving these particular filenames in the cache; they will never be searched again. Subsequent runs will run a new test with an intentionally different set of filenames. This can have detrimental effects on some systems; a massive negative dcache can lead to memory or performance problems. Since not all platforms have a problem with negative dcache entries, this patch is limitted to those platforms that request it at compilie time (Linux is current the only patch that does.) Differential Revision: https://phabricator.services.mozilla.com/D59652
Diffstat (limited to 'lib/freebl/freebl_hash.def')
0 files changed, 0 insertions, 0 deletions