Hi Dmitry, I didn't yet look at hydrogen.cc, but other files look good.


https://codereview.chromium.org/150813004/diff/180001/src/flag-definitions.h
File src/flag-definitions.h (right):

https://codereview.chromium.org/150813004/diff/180001/src/flag-definitions.h#newcode359
src/flag-definitions.h:359: "threshold for in-heap typed array")
how about typed_array_max_size_in_heap.

Also, could you relate this constant to the max object size in the heap
with ASSERTS somewhere appropriate? Obviously, 64 bytes is very small
compared to max object size in new space, but an assert would offer
long-lasting protection.

https://codereview.chromium.org/150813004/diff/180001/src/objects.cc
File src/objects.cc (right):

https://codereview.chromium.org/150813004/diff/180001/src/objects.cc#newcode16457
src/objects.cc:16457: printf("Materializing buffer!\n");
Remove this printf().

https://codereview.chromium.org/150813004/diff/180001/src/runtime.cc
File src/runtime.cc (right):

https://codereview.chromium.org/150813004/diff/180001/src/runtime.cc#newcode956
src/runtime.cc:956: holder->map()->Print();
Remove this debugging code.

https://codereview.chromium.org/150813004/diff/180001/src/runtime.cc#newcode1063
src/runtime.cc:1063: memcpy(
Could the memcpy code in this block be encapsulated into a
JSTypedArray::Copy() function?

https://codereview.chromium.org/150813004/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to