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

Issue 16950013: Do not use weak handles for ArrayBuffers. (Closed)

Created:
7 years, 6 months ago by Dmitry Lomov (no reviews)
Modified:
7 years, 6 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev, Hannes Payer (out of office)
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/v8/source/detail?r=15205

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -28 lines) Patch
M src/heap.h View 1 chunk +2 lines, -0 lines 2 comments Download
M src/heap.cc View 7 chunks +26 lines, -0 lines 6 comments Download
M src/runtime.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/runtime.cc View 2 chunks +10 lines, -20 lines 0 comments Download
M test/cctest/test-weaktypedarrays.cc View 7 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Dmitry Lomov (no reviews)
PTAL mstarzinger@: please review hpayer@: FYI (comments welcome, of course!)
7 years, 6 months ago (2013-06-13 16:40:42 UTC) #1
Michael Starzinger
LGTM with nits. https://codereview.chromium.org/16950013/diff/1/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/16950013/diff/1/src/heap.cc#newcode1745 src/heap.cc:1745: nit: Add a second empty newline. ...
7 years, 6 months ago (2013-06-19 11:35:09 UTC) #2
Dmitry Lomov (no reviews)
Nits addressed, landing https://codereview.chromium.org/16950013/diff/1/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/16950013/diff/1/src/heap.cc#newcode1745 src/heap.cc:1745: On 2013/06/19 11:35:09, Michael Starzinger wrote: ...
7 years, 6 months ago (2013-06-19 11:51:25 UTC) #3
Dmitry Lomov (no reviews)
7 years, 6 months ago (2013-06-19 11:53:38 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r15205 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698