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

Issue 2242183003: Clear recorded slots when making a string external (Closed)

Created:
4 years, 4 months ago by Michael Lippautz
Modified:
4 years, 4 months ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com, ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Clear recorded slots when making a string external. Slots in ConsString/SlicedString can point to an evacutaion candidate. The MakeExternal function makes in-place conversion to external string. After the conversion we can have a recorded slot containing an external pointer. As long as the external pointer is aligned, this is not a problem. We clear the recorded slots to fix verify-heap checks. BUG=chromium:631969 LOG=NO Finalizing CL: https://codereview.chromium.org/2199863002/ Committed: https://crrev.com/f6875cee3ab6cb69311bef765c0496877a5d3e8e Cr-Commit-Position: refs/heads/master@{#38653}

Patch Set 1 : Copy CL #

Patch Set 2 : Fix leak in test by stack-allocating temporary object #

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

Messages

Total messages: 12 (7 generated)
Michael Lippautz
ptal. Mainly a copy of Ulan's CL. Just fixed the lsan issue in the regression ...
4 years, 4 months ago (2016-08-16 11:21:04 UTC) #2
Jakob Kummerow
LGTM, thanks! (CC'ing Ulan: FYI.)
4 years, 4 months ago (2016-08-16 11:22:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2242183003/20001
4 years, 4 months ago (2016-08-16 11:57:14 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-16 11:59:14 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 11:59:40 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f6875cee3ab6cb69311bef765c0496877a5d3e8e
Cr-Commit-Position: refs/heads/master@{#38653}

Powered by Google App Engine
This is Rietveld 408576698