API: Change AdjustAmountOfExternalAllocatedMemory calls to use int64_t instead
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 21 Nov 2013 08:06:02 +0000 (08:06 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 21 Nov 2013 08:06:02 +0000 (08:06 +0000)
commit9318e1cc4af0f80fe557b044e1fb8de91b264a55
tree9c088840a0f4130f7e512d415f35a81cb11e87aa
parent617c2dd714a531fe02e8e95a7547a3102e051665
API: Change AdjustAmountOfExternalAllocatedMemory calls to use int64_t instead
of intptr_t

This prevents an overflow in FreeArrayBuffer, which in turn caused needless GCs
as well as crashes on isolate teardown.

LOG=Y
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/70233010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17944 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
src/heap-inl.h
src/heap.cc
src/heap.h
src/runtime.cc