diff options
author | Philip P. Moltmann <moltmann@google.com> | 2019-12-19 19:55:35 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-01-03 10:08:03 -0800 |
commit | d8c0bda6a66d84228c49564739c7ef91ba9cfbda (patch) | |
tree | 65c3e175abe27231e07f63f62fb446039b9210ee /rs/java/android/renderscript/ProgramStore.java | |
parent | 9046d82b8f6251508942aa74765a41118084f3f9 (diff) |
Use Pools for noteOp related data objects
... to avoid too frequent allocations of small objects.
There is no pool for NoteOpEvent objects as they are only freed in very
uncommon situation. Hence they are directly reinited instad of going
through a pool.
Test: atest CtsAppOpsTestCases
Bug: 136595429
Change-Id: Ia39ca9682771cbc44ddbeaadc55f7e3f17c86449
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions