commit | d17c7da60c76150cff134bd1920499bfbfbd6ba3 | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adsrini@google.com> | Fri Mar 05 20:43:32 2021 +0000 |
committer | Adithya Srinivasan <adsrini@google.com> | Fri Mar 05 23:03:27 2021 +0000 |
tree | ec38ab27712df8f6d4cd231c7cbf8a6df1879644 | |
parent | 8503741e01bc6464974eec29690766860ee4ff69 [diff] |
Fix a memory leak with pending jank classifications If the front of the pendingJankClassification deque is stuck(FrameTimeline never received it) for some reason, the current logic never releases it and the deque keeps growing in size until the layer itself is destroyed. This has resulted in some memory leaks recently. Bug: 181328447 Test: heap_prof trace Change-Id: If71225f52da3bbd9b0b0d46af75f933fd48d5bd5