|
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
Committed: https://code.google.com/p/dart/source/detail?r=32439
Total comments: 16
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+247 lines, -258 lines) |
Patch |
|
M |
runtime/vm/benchmark_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+38 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+82 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/profiler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+24 lines, -32 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
8 chunks |
+51 lines, -174 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_linux.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_macos.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|