|
- Add an OSThread structure which is the generic TLS structure for all C++
fields in a thread (i.e fields that are not Dart VM related)
- Split the Thread structure to be a pure Dart per thread structure and add
a pointer to os_thread which points to the OSThread structure
- Change Schedule/UnSchedule to set the Dart Thread structure as the TLS of
the thread when it is inside the Dart world and reset the TLS back to the
OSThread strcuture when is exits the Dart World.
- Moved the stack_base and few stack size related functions to OSThread from Isolate
R=johnmccutchan@google.com, zra@google.com
Committed: https://github.com/dart-lang/sdk/commit/9e19d236ca83136d49cf54f38a8b551927be70bf
Total comments: 8
Total comments: 10
Total comments: 2
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+941 lines, -892 lines) |
Patch |
|
M |
runtime/lib/timeline.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.h
|
View
|
1
2
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_entry.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+27 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger_api_impl_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
6 chunks |
+4 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
9 chunks |
+6 lines, -32 lines |
0 comments
|
Download
|
|
M |
runtime/vm/log.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/message_handler_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/native_api_impl.cc
|
View
|
1
2
|
3 chunks |
+21 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+194 lines, -12 lines |
0 comments
|
Download
|
|
A |
runtime/vm/os_thread.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+231 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_android.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_linux.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_macos.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+18 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/profiler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/vm/simulator_arm.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/simulator_arm64.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/simulator_mips.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
16 chunks |
+71 lines, -159 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
8 chunks |
+48 lines, -327 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_linux.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_macos.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_pool.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+20 lines, -139 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_registry.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+122 lines, -49 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_test.cc
|
View
|
1
2
3
4
|
6 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
10 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 15 (2 generated)
|