summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2022-05-16 16:26:44 -0400
committer Atneya Nair <atneya@google.com> 2022-05-17 20:16:18 -0400
commit0c24bb2d2d4a42b4918cb7232572c0bf71dd0f69 (patch)
tree2d520ae0858ffab36a511ff91e18f73d5fe25cfb /libs/androidfw/StringPool.cpp
parent6a45e90f9f4d42f197bc1b0725bda81bc980f4d3 (diff)
Replace locking JNI array methods
Certain JNI methods utilize (PrimitiveCritical) a lock on the gc and other JVM resources to avoid copying array sections. In AudioEffect, all the arrays we wish to read are small, and not worth this cost. Additionally, holding this lock while going into blocking calls can lead to runtime issues. Test: atest AudioEffectTest Bug: 231038541 Change-Id: I80a88f503c2efcd9778998e3f8bc78fd512ad5fc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions