summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-10-12 17:48:12 +0000
committer Kweku Adams <kwekua@google.com> 2022-10-31 14:57:10 +0000
commit9bfcae02d00a2e5ad3478f4de5551ed6de5e0421 (patch)
treee715308e4f813207c30a61e487fb105c783f232f /libs/androidfw/ApkParsing.cpp
parentb30d5466b3393647f8c2bcc6feefddd40a912784 (diff)
Add additional lanes if current jobs will run too long.
With the incoming long-running job feature comes the possibility that all usable slots are occupied for long periods of time (eg. for hours), so if we detect that other jobs would be stuck waiting in the queue for too long then we'll create at most 2 extra slots (one for EJs, one for regular jobs) so that we can make forward progress with the other jobs. Bug: 248386641 Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job Test: atest CtsJobSchedulerTestCases Change-Id: I7a41a5c8371714a0285bb2dcfe115c762c0d8ed7
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions