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

Issue 2122923003: [debugger] Don't leak holes from generator arguments. (Closed)

Created:
4 years, 5 months ago by neis
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com, jgruber, Camillo Bruni
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] Don't leak holes from generator arguments. This is a quick fix for the hole leaking from generators via the debugger's frame inspection feature: when collecting the arguments, convert each hole to undefined. In the long term, we probably want to remember and restore the actual arguments rather than pushing these dummy arguments on each resume. BUG=v8:5164 Committed: https://crrev.com/45a8167477bee1ce22b204c30d6cb1509763177a Cr-Commit-Position: refs/heads/master@{#37544}

Patch Set 1 #

Patch Set 2 : Convert on access instead #

Patch Set 3 : DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
M src/accessors.cc View 1 2 1 chunk +10 lines, -1 line 0 comments Download
A test/mjsunit/regress/regress-5164.js View 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2122923003/1
4 years, 5 months ago (2016-07-05 14:39:54 UTC) #2
neis
ptal
4 years, 5 months ago (2016-07-05 14:42:56 UTC) #5
Michael Starzinger
Instead of pushing "undefined" onto the stack I would actually prefer to convert the existing ...
4 years, 5 months ago (2016-07-05 14:52:37 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nodcheck_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel_ng/builds/4457) v8_linux_nodcheck_rel_ng_triggered on ...
4 years, 5 months ago (2016-07-05 14:55:45 UTC) #8
Yang
On 2016/07/05 14:52:37, Michael Starzinger wrote: > Instead of pushing "undefined" onto the stack I ...
4 years, 5 months ago (2016-07-06 05:55:56 UTC) #9
neis
PTanotherL
4 years, 5 months ago (2016-07-06 07:18:52 UTC) #13
Michael Starzinger
LGTM.
4 years, 5 months ago (2016-07-06 07:43:07 UTC) #14
Yang
On 2016/07/06 07:43:07, Michael Starzinger wrote: > LGTM. LGTM. Thanks!
4 years, 5 months ago (2016-07-06 07:44:07 UTC) #15
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/2122923003/40001
4 years, 5 months ago (2016-07-06 07:45:38 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-06 08:10:16 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 08:10:18 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 08:11:45 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/45a8167477bee1ce22b204c30d6cb1509763177a
Cr-Commit-Position: refs/heads/master@{#37544}

Powered by Google App Engine
This is Rietveld 408576698