DescriptionVM: Fix crash in profile signal handler.
The profile signal handler may interrupt when the current Thread
is in an inconsistent state.
Members of the Thread that is unscheduled are NULLed out before
OSThread::SetCurrent sets a new current Thread. Fix this by resetting
the current Thread's fields after a new Thread is set as current.
BUG=#25072
R=iposva@google.com
Committed: https://github.com/dart-lang/sdk/commit/d9b13018218c19c82e86c8da6020bdc524fef7de
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|