diff options
author | Daniel Mihalyi <daniel.mihalyi@mattakis.com> | 2014-08-18 18:45:31 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2014-08-22 07:34:30 +0200 |
commit | 96add97815ba8418fb4e8c0fc08dbf9c7198f244 (patch) | |
tree | fbbed5ec71b33a6f9937bfb61dce0a63849053e1 /test/008-exceptions/src/MultiDexBadInitWrapper1.java | |
parent | 39c2a379795460374b41e627257130e3c4ab961f (diff) |
Optimized instrumentation listener handling
Some instrumentation listener lists may be modified while iterating
over the list to deliver an instrumentation event. Therefore the
previous implementation copied the list of listeners before starting
the iteration.
This new implementation only copies the list of instrumentation
listeners when the list is changed. Instances of the list are
reference counted using std::shared_ptr<>.
Bug: 16814665
(cherry picked from commit ca1d06cfa2f2b8d2be4390644e126cb68cdbb5ba)
Change-Id: Ib2e6b980de85b75f1c8f4a8825bdc7767154663a
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInitWrapper1.java')
0 files changed, 0 insertions, 0 deletions