diff options
author | Felipe Leme <felipeal@google.com> | 2019-10-03 15:38:43 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2019-10-09 10:15:16 -0700 |
commit | 29f1ae91f5c714afa710a9b7b88064e85250bb31 (patch) | |
tree | 83495a02b4e407c86be2b097921ca84969198416 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b71657a60aaedf7771daeca015bf48d87cf81230 (diff) |
Minor improvements on SystemServerInitThreadPool:
- Log number of threads on constructor.
- Use explicit, private lock object so callers cannot accidentally cause dead
locks.
- Add a new method to explicitly start it.
- Let the whole object be GC'ed when done.
- Don't let tasks be submitted after it's been shutdown.
Bug: 141571552
Test: manual verification
Change-Id: Ibff5f014e17366ab2eec9b64da00c9416d98fc54
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions