gecko-dev/security
Dana Keeler 098bc1f91c bug 1555854 - avoid creating transient threads in PSM (particularly CryptoTask) r=KevinJacobs
CryptoTask is a helper class that makes it easier to implement code that runs on
a background thread and then notifies completion on the main thread (this is
useful for not blocking the main thread with long-running cryptography or I/O).
Before this patch, each CryptoTask would create a new thread each time it ran,
which was inefficient. This patch updates CryptoTask to use the stream transport
service (which is essentially a pool of threads for doing exactly these kinds of
things and notably is not to be confused with the socket transport service) to
run each task. Additionally, there were a few places in PSM where we
unnecessarily created new threads to perform similar tasks. These now use the
stream transport service as well.

Differential Revision: https://phabricator.services.mozilla.com/D33534

--HG--
extra : moz-landing-system : lando
2019-06-03 23:47:48 +00:00
..
apps bug 1555854 - avoid creating transient threads in PSM (particularly CryptoTask) r=KevinJacobs 2019-06-03 23:47:48 +00:00
certverifier Bug 1551177 - avoid searching unproductive certificate paths during verification r=jcj,KevinJacobs 2019-05-18 00:15:54 +00:00
ct bug 1515608 - allow end-entity certificates to be trust anchors for compatibility r=jcj 2019-03-18 20:01:02 +00:00
mac/hardenedruntime Bug 1543830 - Add Mac Hardened Runtime entitlement files to the tree r=spohl 2019-04-18 15:56:00 +00:00
manager bug 1555854 - avoid creating transient threads in PSM (particularly CryptoTask) r=KevinJacobs 2019-06-03 23:47:48 +00:00
nss Bug 1550889 - land NSS 29a48b604602 UPGRADE_NSS_RELEASE, r=me 2019-05-29 15:52:05 +00:00
sandbox Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
.eslintrc.js Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8 2019-03-19 22:02:42 +00:00
generate_certdata.py Bug 1464869 - Run autopep8 on security/ r=fkiefer 2018-05-26 06:47:27 -07:00
generate_mapfile.py Bug 1489443 - Set GCC_USE_GNU_LD based on linker kind. r=froydnj 2018-10-17 19:46:03 +00:00
moz.build Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium 2019-03-21 01:28:50 +00:00
nss.symbols Bug 1555205 - Move db/sqlite3 to third_party/; r=mak 2019-05-29 10:16:29 +00:00