diff options
| author | 2024-02-23 22:13:45 +0000 | |
|---|---|---|
| committer | 2024-02-23 22:13:45 +0000 | |
| commit | df5c596460a81c3dcfea42e0e8d35aca9e2f3538 (patch) | |
| tree | de21b940d8bff9f9093c8d7e9ee97bba684a27c5 /libs/androidfw/StringPool.cpp | |
| parent | 5190facc795974ed4477ea4a32442d7e3d4bd10a (diff) | |
Surface.java: decrease native allocation size
The original change caused a new camera test flake. The camera app has a
bug where it doesn't release surfaces, and this caused the GC to churn
and captures to time out. This led to a rollback of this flag.
Lowering the value to hopefully cause less churn but still put enough
pressure on the GC to actually GC these objects.
Tested with:
- atest "CtsCameraTestCases:android.hardware.camera2.cts.CameraExtensionSessionTest#testRepeatingAndCaptureCombined[1]" --iteration 3
- atest "android.view.cts.SurfaceOOMTest#testSurfaceGarbageCollection" --iterations 3
Bug: 306193257
Bug: 324071855
Test: atest, see above
Change-Id: I405b388286939df015e8934b76f8cd1781228f5a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions