diff options
| author | 2023-10-03 00:03:28 -0700 | |
|---|---|---|
| committer | 2024-04-02 14:48:45 -0700 | |
| commit | bdbe29a757d79925c0b09431d7f749a26396b8a8 (patch) | |
| tree | d8bd9d5d53f57e781da511ba400a867a67f12b2a /libs/gui/LayerDebugInfo.cpp | |
| parent | c2d55d916ac53d2f1ab62c0e5b80a060508ea0e6 (diff) | |
Add a new callback for the excessive binder proxy count
The callback is served as a warning where there are too many
binder proxies from a certain UID. The recipient of the callback
would then have a chance to log this event and/or trigger a dump,
before things getting out-of-control and trigger the high watermark
callback, where the process could be killed.
This callback signal could also be used as a hint to the GC in
the upper layer, which could effectively release the references to
remote binder stubs.
(cherry-picked from ag/25082740)
Bug: 298263955
Test: binder_bpBinderFuzz
Test: atest binderLibTest
Change-Id: I5d3659a9430c7404f7cfdfe4732980f5b1b0fa65
Merged-In: I5d3659a9430c7404f7cfdfe4732980f5b1b0fa65
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions