summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNikita Iashchenko <nikitai@google.com>2020-03-12 13:58:36 +0000
committerNikita Iashchenko <nikitai@google.com>2020-04-01 12:25:35 +0100
commitbc6a3b493d1a4efbcbaa6f61714560e7cfbf0db0 (patch)
tree680a9ee742e1395a349a55564b2272b051694e75 /annotations/generate_annotated_java_files.py
parent2ab7ac169c53576a2d4df41e0ed85f8d65b41511 (diff)
Preload zone rules in zygote hook
Call ICU's TimeZone.getDefault() to explicitly load current time-zone rules into zygote to improve app startup time. This is the second attempt to submit this CL. The first attempt was https://r.android.com/1255687, which accidentally used java.util's TimeZone. Bug: 150605074 Test: m droid Test: (adb shell) simpleperf record -p `pidof zygote64` -g --post-unwind=yes -f 10000 Collected profile, started apps: Messages, Calls, Browser and Camera; no generateZoneRules() call in profile found. Change-Id: Ieba87f7235b9e6d2adc602f221537192839a42f6 Merged-In: Ieba87f7235b9e6d2adc602f221537192839a42f6 (cherry picked from commit 4cbb52fd7b30859794714606e8a08a238519cc4c)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions