summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAndrei Onea <andreionea@google.com>2021-06-17 14:15:03 +0000
committerAndrei Onea <andreionea@google.com>2021-06-17 19:05:34 +0000
commitd23af5ed3004d08f92acf1f6f83b4b4b9d91c978 (patch)
tree716f5f6550ff745b881d5320373ed10c886adf8d /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent3d44d6ed952eb4d440d7f21e75a571bc5c913fb2 (diff)
Attempt to fix deadlock on saveOverrides
Currently, the lock on mChanges is held continuously while saving the changes to disk, however if the serialization triggers an OomAdjustLSP, that triggers yet another call to the compat framework - causing a deadlock. Currently, OomAdjust happens during XML serialisation, so releasing the lock after we've collected all the data should fix the deadlock, however there could be issues if OomAdjust happens while collecting the overrides themselves. That seems somewhat unlikely, and would likely signal a larger issue. Test: atest CompatConfigTest Bug: 190611974 Change-Id: I01e4802baeecf2757044609b91b7b7a40e728d4e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions