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

Issue 1101993002: Fix adding to WeakFixedArray after compaction. (Closed)

Created:
5 years, 8 months ago by Yang
Modified:
5 years, 7 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix adding to WeakFixedArray after compaction. WeakFixedArray::Add expects space for at least one element. R=jkummerow@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M src/objects.cc View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
5 years, 8 months ago (2015-04-24 10:55:21 UTC) #1
Jakob Kummerow
5 years, 8 months ago (2015-04-24 10:59:56 UTC) #2
As discussed offline, I'll include the test in my next CL, where I've run into
the same issue, but am fixing it differently by making sure WeakFixedArrays can
be empty and still behave correctly.

Powered by Google App Engine
This is Rietveld 408576698