Update concurrent start bytes when app switches from background
to foreground.
When app switches from background to foreground, the
concurrent start bytes value calculated in background is still
used until a GC occurs. This leads to a GC sooner than desired.
In order to prevent GC from happening too early and affecting
the hot start, We should update the concurrent start
bytes promptly when the process state changes
Bug: 249472594
Test: build
Signed-off-by: qiubowen <qiubowen@xiaomi.com>
Change-Id: I3fc6f5362c253af26792703ee38eab64605a80f2
2 files changed