diff options
author | Christopher Tate <ctate@google.com> | 2019-02-21 17:41:37 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2019-04-01 17:33:34 -0700 |
commit | a510e983827348b0752edc710e8639af6e92459a (patch) | |
tree | a3723d8be51b01960a8444597bd9bb02f85e4e72 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cdb73a2711e1400092c84d1e65c5cc06ef893e3b (diff) |
Batch the commit-to-disk of new persisted jobs
We aggressively commit persisted-job state changes to disk ASAP, but
this means that in some cases (both pathological and not) we wind up
redundantly writing the persisted-jobs description to disk multiple
times. Now we reduce the potential write load by batching together all
updates within a given time threshold into a single commit to disk.
Bug: 125441169
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/job/JobStoreTest.java
Change-Id: If7b544064f35dc6b0543b2ec979ae94afb5d6e33
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions