commit | 620b836c478741d8eec1ef5255f909e6d7e9b649 | [log] [tgz] |
---|---|---|
author | gab <gab@chromium.org> | Sat Aug 13 18:38:29 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Aug 13 18:40:42 2016 |
tree | a3bff18f2f8d4762ed7340ab44d720d2712d50b7 | |
parent | 299805a3efd15f7464d2a768051b9f107adc09a4 [diff] |
Move OomKillsMonitor from a single-threaded SequencedWorkerPool to a non-joinable thread. The semantics are equivalent after this CL: - SequencedWorkerPool::CONTINUE_ON_SHUTDOWN => non-joinable thread + leaky instance. - Actually, it's better than before because with lack of a Leaky lazy instance, there was a join despite the CONTINUE_ON_SHUTDOWN request [1]. - Ramping worker thread down on destruction through OomKillsMonitorHandle. [1] https://cs.chromium.org/chromium/src/base/threading/sequenced_worker_pool.cc?rcl=1469791693&l=601 BUG=622400 Review-Url: https://codereview.chromium.org/2197753002 Cr-Commit-Position: refs/heads/master@{#411899}