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

Skip to content
Commit 741dbaca authored by Jan Sebechlebsky's avatar Jan Sebechlebsky Committed by Ján Sebechlebský
Browse files

Fix memory leak in SuspendBlockerImpl

The cl removes the mOpenReferenceTimes entries
for the cls without active acquisitions.

The cl also preallocates the LongArray containing the acquisition
times to 2 elements, since based on the heapdump is looks underutilized
and default initial allocation of 12 seems too big.

Bug: 290346048
Test: atest PowerManagerServiceTest
Test: verified system server heapdump

Change-Id: Ic2f810e1ffe99a7ed8c36fd0e0ac44446dc65b67
parent ce849e65
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