Files
swift-mirror/lib/Basic
Hamish Knight fe906574cd [Basic] Avoid reentrant stat collection
Currently `UnifiedStatsReporter::flushTracesAndProfiles`
can kick off requests when computing the source
ranges for collected entities, which will try to
record additional stats about the requests.

This currently happens to work without issue,
but #29289 bumped the counters down slightly such
that the vector storing the stats now performs a
re-allocation when we do a reentrant stat entry.
This then caused a use-after-free as we try to
continue iterating over the old buffer.

Fix this issue by refusing to record any new stats
while we're flushing out the ones we've already
recorded.
2020-01-23 16:43:18 -08:00
..
2019-07-09 11:14:48 -07:00
2019-09-13 09:57:48 -07:00
2019-11-12 20:41:02 -08:00
2019-10-01 12:36:55 -07:00
2018-12-21 10:43:20 -08:00
2018-11-06 14:38:55 -08:00