summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Miguel <miguelaranda@google.com> 2022-03-31 13:06:51 +0000
committer Miguel Aranda <miguelaranda@google.com> 2022-08-25 15:28:07 +0000
commit8684d5be446100997524b198df6bc5994fd0f101 (patch)
treeac03c74218c989e669f614dd44d2f3a61ecf6514 /libs/androidfw/StringPool.cpp
parent00f823fb2a976075076ea72669f6d1230d689eac (diff)
Enable StrictMode checks for explicit garbageCollection from T.
This disallows calls to runtime.gc() in the new version of Android. Explicit GC calls are blocking and can thus cause runtime overhead. They used to be performed as a pattern in order to avoid GC_FOR_ALLOC. However, that was only the case for Dalvik, that is now discouraged for ART. Bug: 3400644 Test: m Test: atest StrictModeTest Change-Id: I4720f2b4c4047bb90a88b924c539690e3c202e08
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions