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

Issue 1724263004: V8 minor GC should not ignore hasPendingActivity (Closed)

Created:
4 years, 10 months ago by haraken
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

V8 minor GC should not ignore hasPendingActivity This is a potential fix for bug 586183. It is wrong to return immediately when toScriptWrappable(wrapper)->hasPendingActivity returns true. It must call v8::Persistent::MarkActive() to keep alive the wrapper. BUG=586183 Committed: https://crrev.com/097eced3f582b417c5857a25f645aa04c8174f67 Cr-Commit-Position: refs/heads/master@{#378277}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 28 (12 generated)
haraken
PTAL
4 years, 10 months ago (2016-02-25 12:57:12 UTC) #3
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-25 12:59:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724263004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724263004/20001
4 years, 10 months ago (2016-02-25 13:02:41 UTC) #6
sof
https://codereview.chromium.org/1724263004/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (left): https://codereview.chromium.org/1724263004/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#oldcode125 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:125: const WrapperTypeInfo* type = toWrapperTypeInfo(wrapper); You still need this, ...
4 years, 10 months ago (2016-02-25 13:08:13 UTC) #8
sof
(unchecked commit box.)
4 years, 10 months ago (2016-02-25 13:17:02 UTC) #10
haraken
https://codereview.chromium.org/1724263004/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (left): https://codereview.chromium.org/1724263004/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#oldcode125 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:125: const WrapperTypeInfo* type = toWrapperTypeInfo(wrapper); On 2016/02/25 13:08:13, sof ...
4 years, 10 months ago (2016-02-25 13:58:37 UTC) #11
sof
"proglue" would be an awesome alternative name for bindings/ btw :-)
4 years, 10 months ago (2016-02-25 14:01:39 UTC) #12
haraken
Done. I'll remove code for hasPendingActivity of HTMLImageElement in a separate CL. Now that I ...
4 years, 10 months ago (2016-02-25 14:05:02 UTC) #13
sof
On 2016/02/25 14:05:02, haraken wrote: > Done. > > I'll remove code for hasPendingActivity of ...
4 years, 10 months ago (2016-02-25 14:07:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724263004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724263004/40001
4 years, 10 months ago (2016-02-25 14:13:03 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/185700)
4 years, 10 months ago (2016-02-25 15:44:18 UTC) #20
Ken Russell (switch to Gerrit)
Thanks haraken for tracking this down. Great. lgtm
4 years, 10 months ago (2016-02-25 19:56:05 UTC) #21
Ken Russell (switch to Gerrit)
Commented on http://crbug.com/586183 -- these tests are still flaky. I think the cleanup CL https://crrev.com/04f6d5b221c41d9110c36d5464f427162ddd1532 ...
4 years, 9 months ago (2016-02-29 20:22:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1724263004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1724263004/40001
4 years, 9 months ago (2016-02-29 20:22:41 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-02-29 21:35:17 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 21:36:25 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/097eced3f582b417c5857a25f645aa04c8174f67
Cr-Commit-Position: refs/heads/master@{#378277}

Powered by Google App Engine
This is Rietveld 408576698