summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/21/changes
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-11-21 13:03:47 -0800
committerWale Ogunwale <ogunwale@google.com>2016-12-06 11:21:01 -0800
commit1e129a4212ec3b388c65db8f6ce18896362ac35c (patch)
tree36096ad3cb098d9a4439135e9ecbe9ece849828c /docs/html/sdk/api_diff/21/changes
parentee41d4afcb089eac6a6a569557905f71bdd33f6c (diff)
Reduce object allocations in WM in some frequently called methods
With the use of lambdas to get all windows in the window container hierarchy, we need to be careful in frequently called code paths to make sure the number of objects we allocate isn't crazy. This CL converts some commonly called code paths that use lambda to use a method reference for the lambda so we only need to allocate once vs. each time the code path is executed. Test: Perform some common operations on the phone and make sure the object allocations that show-up in Allocator Tracker for window manager seems reasonable Change-Id: Ie0f245980de96ec68a4e62e76130db7d98c3f7d9
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions