commit | 0186839fe0b15c0ce705ffba6a7bfbf5df627646 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Aug 21 21:25:34 2024 +0000 |
committer | Steven Moreland <smoreland@google.com> | Wed Aug 21 23:00:28 2024 +0000 |
tree | 2ca8ec7249354e38620f49a40cd7d07809ef8354 | |
parent | a35b1f13ddef1d27f368c371dcd942c2c3fb37df [diff] |
Binder: avoid GC while holding lock The JavaBBinder constructor may trigger a GC. This causes deadlocks. Though, I also think, usually when you create a binder object, you just send it out, and so maybe we should always create the local object instead of doing it lazily like this, but idk the history behind that, I've been thinking of changing it. Bug: 360067751 Test: boot, TH Change-Id: I97963c5e7b859d4ad474c715bb657b9baa19fabf