Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25020a6f authored by Varad Deshmukh's avatar Varad Deshmukh Committed by Steve Kondik
Browse files

Delay Explicit GC from the SystemServer.

Binder activity as part of the System Server executes an Explicit
GC every 200 Binder references. Such Binder activity is significant
during the application launch of some Google Apps like Music.
The resulting pause due to the GC pauses the main application, affecting
launch time.

This change detects an app launch, and delays the incoming GC by
3 seconds. The API for GC delay can be calllable for different use-cases.
This change deals with only the application launch.

CRs-Fixed: 779174

Change-Id: I0f2dfaf3cb13940c77df8a6fefc2cbc0c76e027c
parent 1511e96f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment