diff options
| author | 2024-08-28 12:39:20 +0000 | |
|---|---|---|
| committer | 2024-08-29 13:41:54 +0000 | |
| commit | 4235830287987f8d75901a327f04dfb5f7a19359 (patch) | |
| tree | 175fb519f23596b0321fd35ad91255e1ce1a225b /libs/input/PointerController.cpp | |
| parent | dde5de7103f3c9f01be85e8a3a46232802cc9d48 (diff) | |
Limit the max number of iterations we perform in ProtoLog perf tests
Spamming protolog messages in a loop leads to a build up of lambdas in the thread pool queue which at some point leads to an OOM in the test. This address this issue by giving limit that amount of logging lambdas we push to the thread pool.
Bug: 361740975
Test: atest ProtoLogPerfTests
Flag: TEST_ONLY
Change-Id: I60636625ab82965337cdb81d0df7c122db08ad76
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions