Do not use weak handles for ArrayBuffers.
authordslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 19 Jun 2013 11:53:30 +0000 (11:53 +0000)
committerdslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 19 Jun 2013 11:53:30 +0000 (11:53 +0000)
commit51f3e2f055156841e6ca23cc41e91f55f771896c
tree82b84042f6f82a589df181a92b5c0b75e42c428c
parent7821715dc100edc76af3979ddabee9f90ff78064
Do not use weak handles for ArrayBuffers.
Instead of allocating weak handles to free ArrayBuffer backing store, dispose of memory while walking the weak list of ArrayBuffers on GC.

Also, free all array buffers on isolate tear-down.

R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15205 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/heap.h
src/runtime.cc
src/runtime.h
test/cctest/test-weaktypedarrays.cc