Commit Graph

4 Commits

Author SHA1 Message Date
johnmccutchan@google.com 86c55f4fde Keep list of existing isolates.
List is only updated when isolates are created / destroyed.
ThreadInterrupter now walks list of isolates.
Scheduling an isolate for interrupts is now lockless.
Setting a current isolate is now lockless.
Working on Linux, Mac, and Windows.
Assert that the isolate isn't on two threads at once.

R=asiva@google.com

Review URL: https://codereview.chromium.org//128653004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32439 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 17:43:21 +00:00
johnmccutchan@google.com 4506470336 Disable profiler for Dartium bots
BUG=

Review URL: https://codereview.chromium.org//129983002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31639 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 00:33:54 +00:00
johnmccutchan@google.com 2b4a1dd74b Temporary disable of thread interrupter on Linux
Review URL: https://codereview.chromium.org//129223005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31631 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 22:42:12 +00:00
johnmccutchan@google.com 919dc2d6eb * Introduce ThreadInterrupter which calls a TLS set callback when thread is interrupted.
* Threads can only register and unregister themselves with ThreadInterrupter.
* Profiler is no longer involved in interrupting threads. It's just a callback and the buffer.
* Profiler operates lock free using an atomic operation to reserve sample in sample buffer.
* Linux, Mac, and Windows done.

R=asiva@google.com

Review URL: https://codereview.chromium.org//109803002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31170 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-16 18:52:15 +00:00