summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2016-03-23 23:28:12 -0400
committerDaniel Micay <danielmicay@gmail.com>2016-03-23 23:35:41 -0400
commita294dacefff98a6328cda4200e64583a72ab8b36 (patch)
tree4c9397ce4060ce8f9f4be068a036d0b9c9716869 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent62c74db26c49e2d019d0a610deb7889b2133010c (diff)
set default journal mode to TRUNCATE, not PERSIST
PERSIST causes data to linger in the journal beyond transactions, so it interacts poorly with SECURE_DELETE. It's also not necessarily faster, especially since it makes the page cache and SSD cache (if there is one) colder by holding on to blocks that are no longer used. The default chosen by upstream is DELETE, but TRUNCATE is a bit lighter since it doesn't need to create/delete the file. Change-Id: If790271c253a840df241980f538fc0d844ba7857
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions