ceb12c4f69
- API breakage: Dart_IsolateBlocked, Dart_IsolateUnblocked -> Dart_ThreadDisableProfiling, Dart_ThreadEnableProfiling. - Remove IsolateProfilerData. - Move thread at blocking call count from isolate to thread. - Always interrupt threads unless they are blocked. - We can no longer count "idle" ticks. - Only record sample if thread is the current mutator of an isolate. - Refactor ThreadInterrupterCallback to ensure that Thread* is valid. Threads are only ever sent signals if ThreadInterruptsEnabled is true. Which is controlled by two functions: void DisableThreadInterrupts(); void EnableThreadInterrupts(); R=asiva@google.com, iposva@google.com Review URL: https://codereview.chromium.org/1423473004 .