diff options
author | 2024-08-16 23:02:43 +0000 | |
---|---|---|
committer | 2024-08-19 08:55:47 +0000 | |
commit | 806ace6dfa77cd65b05b20affb6a7e7072dcc845 (patch) | |
tree | bac53112de6209f0b0dbc90380bb2af31a0904fe /runtime/mirror/array.h | |
parent | 542a1c8e78ad999ac3c8469d2d83e64937373866 (diff) |
Bump app profile uncompressed size limit to 15MB.
The size limit was originally introduced by https://r.android.com/381563
in 2017. According to b/36281963, the main considerations were:
1. Storage issue: A large profile may take too much space.
2. I/O issue: Saving and loading a large profile when the app is running
may take too much I/O.
The initial value was 1M, which was arbitrarily decided based on the
profile sizes of some typical first-party apps. Then
https://r.android.com/1117420 (merged in 2019) changed it to 1.5MB with
no mention of any reason.
Today, so many things have changed since then. Apps become more and more
complex and storage space become larger and larger. Particularly, the
profile sizes of typical first-party apps measured in 2017 have
increased considerably.
App1
160K -> 744KB
App2
106K -> (not measured)
App3
74K -> 620K
It's the time to adjust the threshold value.
Change-Id: I2e4dc3321352f93139d9838411b50811e7529305
Diffstat (limited to 'runtime/mirror/array.h')
0 files changed, 0 insertions, 0 deletions