diff options
| author | Alex Light <allight@google.com> | 2019-06-20 09:47:01 -0700 |
|---|---|---|
| committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-06-20 19:39:24 +0000 |
| commit | 9d3b5ec3bf76855ccb3e01abad41f1fa9e305ade (patch) | |
| tree | 95f586f42e1213b7803c3551ada7b43567cf0226 /test/ProfileTestMultiDex/main.jpp | |
| parent | 34f3179392241ae54302d63e3fdd19fa3b448f87 (diff) | |
Refactor 904 for safety
Some functions that could potentially cause allocations were being
performed during the ObjectAllocated callback in test 904. If these
allocations occurred the test could enter an infinite loop until it
stack-overflows in native code.
To prevent this we move all potentially allocation causing code (such
as calling java methods and getting jmethodIDs) out to the
getTrackingEventMessages function.
Test: ./test.py --host
Change-Id: Iccd2bea90ef037cc2fc496f46690770cfa2d00f7
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions
