Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 9196002: Move Mutex and Monitor from vm/ to platform/ (Closed)

Created:
8 years, 11 months ago by Søren Gjesse
Modified:
8 years, 11 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Move Mutex and Monitor from vm/ to platform/ The tests are still in runtime/vm/thread_test.cc. R=ager@google.com, iposva@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3349

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed review comments from iposva@ #

Patch Set 3 : Minor fixes #

Patch Set 4 : Another minor change #

Total comments: 4

Patch Set 5 : Addressed revire comments from ager@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -941 lines) Patch
M runtime/platform/assert.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/platform/platform_headers.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/platform/platform_sources.gypi View 1 1 chunk +3 lines, -0 lines 0 comments Download
A runtime/platform/thread.h View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download
A + runtime/platform/thread_linux.h View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
A + runtime/platform/thread_linux.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + runtime/platform/thread_macos.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
A + runtime/platform/thread_macos.cc View 1 3 4 1 chunk +1 line, -1 line 0 comments Download
A + runtime/platform/thread_win.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
A + runtime/platform/thread_win.cc View 1 3 4 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M runtime/vm/thread.h View 1 1 chunk +1 line, -72 lines 0 comments Download
M runtime/vm/thread_linux.h View 1 1 chunk +0 lines, -65 lines 0 comments Download
D runtime/vm/thread_linux.cc View 1 1 chunk +0 lines, -250 lines 0 comments Download
M runtime/vm/thread_macos.h View 1 1 chunk +0 lines, -65 lines 0 comments Download
D runtime/vm/thread_macos.cc View 1 1 chunk +0 lines, -229 lines 0 comments Download
M runtime/vm/thread_win.h View 1 1 chunk +0 lines, -61 lines 0 comments Download
D runtime/vm/thread_win.cc View 1 1 chunk +0 lines, -172 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Gjesse
This is based on http://codereview.chromium.org/9189003/ where assert.h and assert.cc have already been moved to platform/runtime
8 years, 11 months ago (2012-01-13 14:22:39 UTC) #1
Ivan Posva
http://codereview.chromium.org/9196002/diff/1/runtime/platform/platform_headers.gypi File runtime/platform/platform_headers.gypi (right): http://codereview.chromium.org/9196002/diff/1/runtime/platform/platform_headers.gypi#newcode12 runtime/platform/platform_headers.gypi:12: 'thread.h', thread_linux.h, thread_macos.h, thread_win.h, http://codereview.chromium.org/9196002/diff/1/runtime/platform/platform_sources.gypi File runtime/platform/platform_sources.gypi (right): http://codereview.chromium.org/9196002/diff/1/runtime/platform/platform_sources.gypi#newcode9 ...
8 years, 11 months ago (2012-01-13 23:33:41 UTC) #2
Søren Gjesse
http://codereview.chromium.org/9196002/diff/1/runtime/platform/platform_headers.gypi File runtime/platform/platform_headers.gypi (right): http://codereview.chromium.org/9196002/diff/1/runtime/platform/platform_headers.gypi#newcode12 runtime/platform/platform_headers.gypi:12: 'thread.h', On 2012/01/13 23:33:41, Ivan Posva wrote: > thread_linux.h, ...
8 years, 11 months ago (2012-01-16 16:12:18 UTC) #3
Mads Ager (google)
LGTM with a couple of questions. http://codereview.chromium.org/9196002/diff/11001/runtime/platform/thread_win.cc File runtime/platform/thread_win.cc (right): http://codereview.chromium.org/9196002/diff/11001/runtime/platform/thread_win.cc#newcode10 runtime/platform/thread_win.cc:10: #include "platform/globals.h" I ...
8 years, 11 months ago (2012-01-16 16:30:36 UTC) #4
Søren Gjesse
8 years, 11 months ago (2012-01-17 10:28:57 UTC) #5
https://chromiumcodereview.appspot.com/9196002/diff/11001/runtime/platform/th...
File runtime/platform/thread_win.cc (right):

https://chromiumcodereview.appspot.com/9196002/diff/11001/runtime/platform/th...
runtime/platform/thread_win.cc:10: #include "platform/globals.h"
On 2012/01/16 16:30:37, Mads Ager wrote:
> I guess there are added to explicity include what you need? platform/globals.h
> is included from platform/thread.h too I think? In the other thread_ files as
> well.

Right - removed as it is not really needed.

https://chromiumcodereview.appspot.com/9196002/diff/11001/runtime/vm/native_a...
File runtime/vm/native_arguments.cc (right):

https://chromiumcodereview.appspot.com/9196002/diff/11001/runtime/vm/native_a...
runtime/vm/native_arguments.cc:8: #include "vm/globals.h"
On 2012/01/16 16:30:37, Mads Ager wrote:
> What here needs globals.h?

None - removed.

Powered by Google App Engine
This is Rietveld 408576698