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

Issue 2675203005: Clear pending message during Isolate::CancelScheduledExceptionFromTryCatch. (Closed)

Created:
3 years, 10 months ago by jbroman
Modified:
3 years, 10 months ago
Reviewers:
Camillo Bruni, Yang
CC:
Devlin, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Clear pending message during Isolate::CancelScheduledExceptionFromTryCatch. Without doing this, a JSMessageObject can be kept alive by the isolate, which in turn keeps the context alive, until the message is cleared. BUG=v8:5941 Review-Url: https://codereview.chromium.org/2675203005 Cr-Commit-Position: refs/heads/master@{#43043} Committed: https://chromium.googlesource.com/v8/v8/+/c8910f35399deb00ab9c44e422265da9baabbaec

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : try this #

Patch Set 4 : unit test #

Patch Set 5 : Merge branch 'master' into schedule-clear-pending-message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -0 lines) Patch
M src/isolate.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M test/unittests/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/api/exception-unittest.cc View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (24 generated)
jbroman
I'm not certain this is the correct fix, but it seems reasonable to me. Please ...
3 years, 10 months ago (2017-02-07 16:42:32 UTC) #18
Camillo Bruni
Seems reasonable to me, InvokeScope uses the same pattern. Yang, could you have a quick ...
3 years, 10 months ago (2017-02-08 07:44:53 UTC) #20
Yang
On 2017/02/08 07:44:53, Camillo Bruni wrote: > Seems reasonable to me, InvokeScope uses the same ...
3 years, 10 months ago (2017-02-08 08:12:43 UTC) #21
Camillo Bruni
lgtm
3 years, 10 months ago (2017-02-08 08:18:47 UTC) #22
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/2675203005/60001
3 years, 10 months ago (2017-02-08 13:15:42 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/34275)
3 years, 10 months ago (2017-02-08 13:17:50 UTC) #26
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/2675203005/80001
3 years, 10 months ago (2017-02-08 15:48:25 UTC) #29
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 16:13:05 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/c8910f35399deb00ab9c44e422265da9baa...

Powered by Google App Engine
This is Rietveld 408576698