|
Cleanup Mutex and related classes.
Drop the previous Mutex and ScopedLock classes from platform files.
Add new Mutex, RecursiveMutex and LockGuard classes, which are
designed after their C++11 counterparts, so that at some point
we can simply drop our custom code and switch to the C++11
classes. We distinguish regular and recursive mutexes, as the
latter don't work well with condition variables, which will be
introduced by a followup CL.
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=16416
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+685 lines, -343 lines) |
Patch |
|
M |
src/assembler.cc
|
View
|
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/d8.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/d8.cc
|
View
|
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/d8-debug.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/d8-debug.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/debug.h
|
View
|
|
6 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/debug.cc
|
View
|
|
12 chunks |
+14 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/debug-agent.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/debug-agent.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gdb-jit.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
1
2
3
4
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
2
3
4
|
9 chunks |
+7 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/log-utils.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/log-utils.cc
|
View
|
|
3 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
src/optimizing-compiler-thread.h
|
View
|
1
2
3
4
5
|
5 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/optimizing-compiler-thread.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/platform.h
|
View
|
1
2
3
4
5
|
4 chunks |
+1 line, -72 lines |
0 comments
|
Download
|
|
M |
src/platform-cygwin.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/platform-freebsd.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/platform-linux.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/platform-macos.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/platform-openbsd.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/platform-posix.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
src/platform-solaris.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/platform-win32.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -42 lines |
0 comments
|
Download
|
|
A |
src/platform/mutex.h
|
View
|
1
2
3
4
5
|
1 chunk |
+223 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/platform/mutex.cc
|
View
|
1
2
|
1 chunk |
+223 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform/time.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/sampler.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/spaces.h
|
View
|
1
2
|
4 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/spaces.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/v8.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/v8globals.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/v8threads.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/v8threads.cc
|
View
|
|
4 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/win32-headers.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/cctest.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-debug.cc
|
View
|
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-lock.cc
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
|
A |
test/cctest/test-mutex.cc
|
View
|
1
2
|
1 chunk |
+118 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-platform-linux.cc
|
View
|
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|