diff options
author | 2023-02-14 12:32:16 +0000 | |
---|---|---|
committer | 2023-02-17 17:50:56 +0000 | |
commit | e7e4e19e734b389df10364031419c720c449618a (patch) | |
tree | 8932b7ffb79f0ac062361802d596f1aa6af95a90 /compiler/optimizing/optimizing_unit_test.h | |
parent | 71cb074032f1b42349df77fd9d143ff5971b87ae (diff) |
Handle multiple tracing sessions collecting OOME heap dumps
In case there are multiple tracing sessions (possibly with different
configs) we need to invoke the DataSource::Trace method once all data
sources are setup (== OnStart is invoked for all of them).
Changes:
- Use the sysprop (set by perfetto traced) to know when to start the
operation
- Since we know for a fact there is a session going, slightly increase
the post-OOME wait-for-perfetto timeout to 1s (from 500ms)
Test: manual, atest HeapprofdJavaCtsTest
Bug: 269246893
Change-Id: I04da2c380236c53e22c92eba502ae50570ae2e6b
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions