diff options
| author | 2023-05-02 10:39:22 +0000 | |
|---|---|---|
| committer | 2023-05-15 08:47:30 +0000 | |
| commit | 621c2c40f5a24dad3f5d928f4b8cc9430e34fcf8 (patch) | |
| tree | add7daad50f2c63b81f7319221773fdda70bfe3c /compiler/optimizing/optimizing_compiler.cc | |
| parent | 0bd8ed3d79b84acbfa826fd5735b51e513236208 (diff) | |
Fix updating threads list in tracing to use overwrite
There can be races when unregistering and stopping tracing
simulataneously. So use overwrite to allow updates to threads list. It
should be harmless to update the list twice, since the information
remains the same.
In a followup CL clean it up to match what we do on streaming.
Bug: 279548114
Test: art/test.py
(cherry picked from https://android-review.googlesource.com/q/commit:581b6c658386208c68aa33259fa2b0d41546d219)
Merged-In: I368076108649af097897ef0ee9b44c6a70c18486
Change-Id: I368076108649af097897ef0ee9b44c6a70c18486
Cherrypick to fix a regression in method tracing in non-streaming mode.
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions