Prevent EventPipe rundown from blocking on write (#25523)
authorJohn Salem <josalem@microsoft.com>
Thu, 4 Jul 2019 00:52:53 +0000 (17:52 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2019 00:52:53 +0000 (17:52 -0700)
commitae3430d8ce50c9e954192e89871aff783da375e2
tree8be233abf90e2af51b2654a28574e5494386c19f
parent1893a9c21d21a860094155b330efca9e598581d0
Prevent EventPipe rundown from blocking on write (#25523)

* Write all rundown events to the buffer manager to prevent the write from blocking while holding the CodeManager lock

* * Incorporate PR feedback
* changed to one suspend rather than suspend->resume->suspend
* added some comments

* update comments
src/vm/eventpipe.cpp
src/vm/eventpipesession.cpp
src/vm/eventpipesession.h