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

Issue 6777007: Add thread-safety to creation of MemCopy and modulo functions. (Closed)

Created:
9 years, 8 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add thread-safety to creation of MemCopy and modulo functions. BUG= TEST=release test-api MultipleIsolatesOnIndividualThreads on Windows X64 build. Committed: http://code.google.com/p/v8/source/detail?r=7437

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add memory barrier #

Patch Set 3 : Add Release_Store to change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -52 lines) Patch
M src/api.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/codegen-ia32.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/platform.h View 2 chunks +16 lines, -1 line 0 comments Download
M src/platform-posix.cc View 1 2 2 chunks +24 lines, -1 line 0 comments Download
M src/platform-win32.cc View 1 2 1 chunk +32 lines, -3 lines 0 comments Download
M src/v8utils.h View 1 chunk +2 lines, -39 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/test-utils.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
William Hesse
9 years, 8 months ago (2011-03-30 09:35:32 UTC) #1
Vitaly Repeshko
Drive by comments. Thanks, Vitaly http://codereview.chromium.org/6777007/diff/1/src/platform-posix.cc File src/platform-posix.cc (right): http://codereview.chromium.org/6777007/diff/1/src/platform-posix.cc#newcode215 src/platform-posix.cc:215: void OS::MemCopy(void* dest, const ...
9 years, 8 months ago (2011-03-30 10:17:19 UTC) #2
William Hesse
http://codereview.chromium.org/6777007/diff/1/src/platform-posix.cc File src/platform-posix.cc (right): http://codereview.chromium.org/6777007/diff/1/src/platform-posix.cc#newcode215 src/platform-posix.cc:215: void OS::MemCopy(void* dest, const void* src, size_t size) { ...
9 years, 8 months ago (2011-03-30 11:26:44 UTC) #3
Vitaly Repeshko
http://codereview.chromium.org/6777007/diff/1/src/platform-posix.cc File src/platform-posix.cc (right): http://codereview.chromium.org/6777007/diff/1/src/platform-posix.cc#newcode215 src/platform-posix.cc:215: void OS::MemCopy(void* dest, const void* src, size_t size) { ...
9 years, 8 months ago (2011-03-30 12:25:01 UTC) #4
fschneider
9 years, 8 months ago (2011-03-30 12:38:19 UTC) #5
Lgtm.

Powered by Google App Engine
This is Rietveld 408576698