Revision: 16245
Author: [email protected]
Date: Tue Aug 20 11:14:56 2013 UTC
Log: Replace OS::MemCopy with memcpy in typed array initialization.
This is an attempt to fix a weird perf regression on MacOS X 10.6 bot.
Perf regression is not reproducible on MacOS X 10.8.
This difference in memory-copying routines is the only reasonable
difference in the algorithm. We should try and see.
[email protected]
BUG=270642
Review URL: https://codereview.chromium.org/23330005
http://code.google.com/p/v8/source/detail?r=16245
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Tue Aug 20 08:46:36 2013 UTC
+++ /branches/bleeding_edge/src/runtime.cc Tue Aug 20 11:14:56 2013 UTC
@@ -996,7 +996,7 @@
JSArrayBuffer::cast(typed_array->buffer())->backing_store());
size_t source_byte_offset =
NumberToSize(isolate, typed_array->byte_offset());
- OS::MemCopy(
+ memcpy(
buffer->backing_store(),
backing_store + source_byte_offset,
byte_length);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.