Riddle Hsu fa1eb3a59e Reduce system calls of ThreadPriorityBooster
- ThreadLocal is bound to each thread, so we don't need to
  get tid every time.
- By storing whether the priority is changed, we don't need
  to get thread priority to decide whether to restore.

The cost of a simple boost region is reduced over 20%.

Test: atest ThreadPriorityBoosterTest
Bug: 123043091
Change-Id: I634898c1bf0d10de4f53fd18043f64d18fe9082b
2019-04-12 17:40:08 +08:00
2019-04-11 09:58:11 -07:00
…
…
…
…
2019-04-11 09:58:11 -07:00
…
…
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%