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

Issue 1738463003: Ship ES2015 iterator finalization (Closed)

Created:
4 years, 10 months ago by Dan Ehrenberg
Modified:
4 years, 9 months ago
CC:
v8-reviews_googlegroups.com, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Ship ES2015 iterator finalization This patch moves iterator finalization (calling .return() when a for-of loop exits early) to shipping. The only part of this feature which is currently known to be missing is destructuring--.return() should be also be called when destructuring with an array which does not end in a rest pattern, but it currently does not. The rest of this feature, including calling .return() from certain builtins, is implemented. R=adamk BUG=v8:3566 LOG=Y Committed: https://crrev.com/227fd1d4ed369ac9a6fe9ad432d1dc960cad385e Cr-Commit-Position: refs/heads/master@{#34307}

Patch Set 1 #

Patch Set 2 : Fix test expectations #

Patch Set 3 : Fix cctest.status #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M src/flag-definitions.h View 2 chunks +1 line, -1 line 0 comments Download
M test/cctest/cctest.status View 1 2 1 chunk +4 lines, -0 lines 1 comment Download
M test/mjsunit/harmony/regress/regress-4658.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738463003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738463003/1
4 years, 10 months ago (2016-02-25 20:04:57 UTC) #2
Dan Ehrenberg
4 years, 10 months ago (2016-02-25 20:06:30 UTC) #4
adamk
lgtm
4 years, 10 months ago (2016-02-25 20:07:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738463003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738463003/1
4 years, 10 months ago (2016-02-25 20:07:53 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/10666)
4 years, 10 months ago (2016-02-25 20:21:23 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738463003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738463003/20001
4 years, 10 months ago (2016-02-25 22:36:45 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/11525)
4 years, 10 months ago (2016-02-25 22:40:13 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738463003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738463003/40001
4 years, 10 months ago (2016-02-25 22:42:10 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-25 23:00:30 UTC) #18
adamk
still lgtm
4 years, 10 months ago (2016-02-25 23:06:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738463003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738463003/40001
4 years, 10 months ago (2016-02-25 23:13:42 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-25 23:15:41 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/227fd1d4ed369ac9a6fe9ad432d1dc960cad385e Cr-Commit-Position: refs/heads/master@{#34307}
4 years, 10 months ago (2016-02-25 23:17:03 UTC) #24
rmcilroy
https://codereview.chromium.org/1738463003/diff/40001/test/cctest/cctest.status File test/cctest/cctest.status (right): https://codereview.chromium.org/1738463003/diff/40001/test/cctest/cctest.status#newcode98 test/cctest/cctest.status:98: 'test-bytecode-generator/ForOf': [FAIL], Doing this shouldn't be necessary any longer ...
4 years, 10 months ago (2016-02-26 12:29:17 UTC) #26
Jakob Kummerow
DBC: as a general rule, CLs titled "Ship $whatever" should not land on the day ...
4 years, 9 months ago (2016-03-01 10:08:04 UTC) #28
Dan Ehrenberg
On 2016/03/01 at 10:08:04, jkummerow wrote: > DBC: as a general rule, CLs titled "Ship ...
4 years, 9 months ago (2016-03-01 16:36:05 UTC) #29
Jakob Kummerow
> This was done under the theory that we'd get one day of Canary coverage. ...
4 years, 9 months ago (2016-03-01 16:45:36 UTC) #30
Dan Ehrenberg
On 2016/03/01 at 16:45:36, jkummerow wrote: > > This was done under the theory that ...
4 years, 9 months ago (2016-03-01 16:50:14 UTC) #31
Michael Hablich
4 years, 9 months ago (2016-03-01 17:05:14 UTC) #32
Message was sent while issue was closed.
On 2016/03/01 16:50:14, Dan Ehrenberg wrote:
> On 2016/03/01 at 16:45:36, jkummerow wrote:
> > > This was done under the theory that we'd get one day of Canary coverage.
But
> > > maybe it was ill-advised, and we should do it further ahead. What should
be
> the
> > > cutoff date exactly? The official feature freeze point? In the end, we
took
> an
> > > earlier Canary, and the feature is not shipping in 51.
> > 
> > Yeah, "stage on Wednesday, ship on Thursday, branch on Friday" is way too
> aggressive. Also, as you saw, it doesn't pan out -- what you land on Thursday
> won't even make it into the Friday Canary, and we often end up having to pick
an
> earlier Canary as the basis for our branch anyway.
> > 
> > There's no hard deadline in V8 for when things have to land, as we do strive
> to have branches have as little of an impact as possible on our workflow, but
> that said, "the week before the branch" is a good rule of thumb, more than
that
> for scary features. We've had enough branch week firedrills in the past, it's
> really good to avoid those.
> 
> I definitely don't want to cause any fire drills. I thought this would be an
> easy revert. I don't think we have a consistent policy about when the cutoff
is
> for language features; for example, I think Proxies were shipped rather
> last-minute too. In this case, I don't think any issues were caused.
> 
> I'd be fine with a policy that, 'the latest date you can ship a feature is a
> week before branch'. What do others think?

We had a discussion about this ... two branches before. Essentially we are
selecting a backup candidate on Tuesday in the branch week. If there is not
backup candidate available (because Stability) we enter a 'no risky changes
mode'. If there is a backup candidate, it is business as usual. Just don't
depend on the fact that your CL will in it if it lands after the backup
candidate. Generally staging it for only one day and shipping it the next is not
a good idea. Let's continue this discussion internally.

Powered by Google App Engine
This is Rietveld 408576698