| commit | 3bac41a665c8dfb1edf4a1cde334929fc69c690e | [log] [tgz] |
|---|---|---|
| author | Colin Cross <ccross@android.com> | Tue Feb 11 15:12:28 2025 -0800 |
| committer | Nick Reuter <nreuter85@gmail.com> | Wed Feb 12 17:40:41 2025 -0600 |
| tree | af88e11c3391b1cc47f3a3ffa22c6d15a49026dc | |
| parent | 0d3f5df8b2607e5ef574cac48670012cb9ea3453 [diff] |
Use pool for mutatorContext and transition contexts Allocating mutatorContext, outgoingTransitionContext and incomingTransitionContext show up at the top of alloc_space memory profiling. Add a typesafe sync.Pool in a new blueprint/pool package and use it to reuse the context objects. Test: builds Change-Id: I4084481fa9b48225fc29538990086d7cf30546bd