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

Issue 13932006: Replace OS::MemCopy with OS::MemMove (just as fast but more flexible). (Closed)

Created:
7 years, 8 months ago by Jakob Kummerow
Modified:
7 years, 8 months ago
CC:
v8-dev, tfarina
Visibility:
Public.

Description

Replace OS::MemCopy with OS::MemMove (just as fast but more flexible). Committed: http://code.google.com/p/v8/source/detail?r=14280

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+790 lines, -401 lines) Patch
M src/allocation.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/api.cc View 5 chunks +6 lines, -5 lines 0 comments Download
M src/arm/assembler-arm.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M src/arm/constants-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/simulator-arm.cc View 11 chunks +29 lines, -29 lines 0 comments Download
M src/atomicops_internals_x86_gcc.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M src/builtins.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/conversions-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/debug.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M src/deoptimizer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/elements.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/execution.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/flags.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gdb-jit.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/global-handles.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M src/heap-inl.h View 4 chunks +6 lines, -6 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 2 chunks +416 lines, -161 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/jsregexp.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/list-inl.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/liveedit.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M src/log.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/log-utils.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/mips/assembler-mips.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/simulator-mips.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/platform.h View 1 chunk +13 lines, -3 lines 0 comments Download
M src/platform-posix.cc View 1 1 chunk +16 lines, -9 lines 0 comments Download
M src/platform-win32.cc View 1 3 chunks +16 lines, -9 lines 0 comments Download
M src/preparse-data.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/preparser-api.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/prettyprinter.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/regexp-macro-assembler-irregexp.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/regexp-stack.cc View 3 chunks +7 lines, -8 lines 0 comments Download
M src/scanner.h View 1 chunk +1 line, -1 line 0 comments Download
M src/serialize.h View 1 chunk +1 line, -1 line 0 comments Download
M src/string-stream.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/unicode-inl.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/utils.h View 4 chunks +5 lines, -2 lines 0 comments Download
M src/utils.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/v8utils.h View 1 1 chunk +95 lines, -18 lines 0 comments Download
M src/v8utils.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-utils.cc View 1 chunk +54 lines, -43 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jakob Kummerow
Vulcanizing more rubber. You can't have enough of that stuff. Reviewer's guidance: The meat of ...
7 years, 8 months ago (2013-04-12 13:23:10 UTC) #1
Michael Starzinger
LGTM with a few comments. https://codereview.chromium.org/13932006/diff/1/src/platform-posix.cc File src/platform-posix.cc (right): https://codereview.chromium.org/13932006/diff/1/src/platform-posix.cc#newcode330 src/platform-posix.cc:330: static OS::MemMoveFunction memmove_function = ...
7 years, 8 months ago (2013-04-16 09:41:42 UTC) #2
Jakob Kummerow
Thanks for the review, comments addressed. Landing. https://codereview.chromium.org/13932006/diff/1/src/platform-posix.cc File src/platform-posix.cc (right): https://codereview.chromium.org/13932006/diff/1/src/platform-posix.cc#newcode330 src/platform-posix.cc:330: static OS::MemMoveFunction ...
7 years, 8 months ago (2013-04-16 12:29:42 UTC) #3
Jakob Kummerow
Committed patchset #2 manually as r14280 (presubmit successful).
7 years, 8 months ago (2013-04-16 12:31:41 UTC) #4
tfarina
The CL summary/description is a bit misleading. You changed a bunch of memcpy to OS::MemCopy ...
7 years, 8 months ago (2013-04-17 01:41:00 UTC) #5
Jakob Kummerow
7 years, 8 months ago (2013-04-17 07:49:40 UTC) #6
Message was sent while issue was closed.
On 2013/04/17 01:41:00, tfarina wrote:
> The CL summary/description is a bit misleading.
>
> You changed a bunch of memcpy to OS::MemCopy specially in the first files of
> this CL.

So?

Powered by Google App Engine
This is Rietveld 408576698