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

Issue 220203005: Oilpan: introduce sticky forcedForTesting flag to ensure that a precise (Closed)

Created:
6 years, 8 months ago by Mads Ager (chromium)
Modified:
6 years, 8 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), kouhei+heap_chromium.org, dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

Oilpan: introduce sticky forcedForTesting flag to ensure that a precise GC is performed at the next return to the event loop. Use this in svg animation tests to be able to reliably check that objects die when expected. R=erik.corry@gmail.com, haraken@chromium.org, kouhei@chromium.org, oilpan-reviews@chromium.org, vegorov@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170648

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address comments. #

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Rename flag #

Patch Set 5 : Fix js-test.js use in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -62 lines) Patch
M LayoutTests/OilpanExpectations View 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/fast/forms/associatedFormControls-leak-nodes.html View 1 2 3 4 1 chunk +17 lines, -10 lines 0 comments Download
M LayoutTests/resources/js-test.js View 1 1 chunk +24 lines, -0 lines 0 comments Download
M LayoutTests/svg/animations/smil-leak-dynamically-added-element-instances.svg View 1 2 2 chunks +15 lines, -16 lines 0 comments Download
M LayoutTests/svg/animations/smil-leak-element-instances.svg View 1 2 2 chunks +15 lines, -13 lines 0 comments Download
M LayoutTests/svg/animations/smil-leak-elements.svg View 1 2 2 chunks +15 lines, -15 lines 0 comments Download
M Source/heap/Heap.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/heap/ThreadState.h View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download
M Source/heap/ThreadState.cpp View 1 2 3 4 chunks +23 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Mads Ager (chromium)
6 years, 8 months ago (2014-04-01 12:38:20 UTC) #1
wibling-chromium
lgtm https://codereview.chromium.org/220203005/diff/1/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html File LayoutTests/fast/forms/associatedFormControls-leak-nodes.html (right): https://codereview.chromium.org/220203005/diff/1/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html#newcode11 LayoutTests/fast/forms/associatedFormControls-leak-nodes.html:11: testRunner.waitUntilDone(); Can't we wait at the end to ...
6 years, 8 months ago (2014-04-01 13:26:08 UTC) #2
haraken
I'm not happy to introduce an asynchronous gc() mechanism into layout tests, but I'm getting ...
6 years, 8 months ago (2014-04-01 13:37:27 UTC) #3
Mads Ager (chromium)
On 2014/04/01 13:37:27, haraken wrote: > I'm not happy to introduce an asynchronous gc() mechanism ...
6 years, 8 months ago (2014-04-01 13:43:11 UTC) #4
Mads Ager (chromium)
https://codereview.chromium.org/220203005/diff/1/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html File LayoutTests/fast/forms/associatedFormControls-leak-nodes.html (right): https://codereview.chromium.org/220203005/diff/1/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html#newcode11 LayoutTests/fast/forms/associatedFormControls-leak-nodes.html:11: testRunner.waitUntilDone(); On 2014/04/01 13:26:09, wibling-chromium wrote: > Can't we ...
6 years, 8 months ago (2014-04-01 13:45:37 UTC) #5
haraken
On 2014/04/01 13:43:11, Mads Ager (chromium) wrote: > On 2014/04/01 13:37:27, haraken wrote: > > ...
6 years, 8 months ago (2014-04-01 14:25:40 UTC) #6
Mads Ager (chromium)
On 2014/04/01 14:25:40, haraken wrote: > On 2014/04/01 13:43:11, Mads Ager (chromium) wrote: > > ...
6 years, 8 months ago (2014-04-01 14:35:50 UTC) #7
haraken
On 2014/04/01 14:35:50, Mads Ager (chromium) wrote: > On 2014/04/01 14:25:40, haraken wrote: > > ...
6 years, 8 months ago (2014-04-01 14:48:27 UTC) #8
haraken
I discussed how to deal with this issue with Blink guys around me. How about ...
6 years, 8 months ago (2014-04-02 05:11:22 UTC) #9
Mads Ager (chromium)
On 2014/04/02 05:11:22, haraken wrote: > I discussed how to deal with this issue with ...
6 years, 8 months ago (2014-04-02 05:41:55 UTC) #10
Mads Ager (chromium)
Patch set updated to remove duplication. PTAL
6 years, 8 months ago (2014-04-02 05:42:35 UTC) #11
zerny-chromium
lgtm
6 years, 8 months ago (2014-04-02 05:49:58 UTC) #12
haraken
LGTM. I think we can improve the CL in a follow-up (I'll try). - Implement ...
6 years, 8 months ago (2014-04-02 06:13:32 UTC) #13
Mads Ager (chromium)
https://codereview.chromium.org/220203005/diff/40001/Source/heap/ThreadState.h File Source/heap/ThreadState.h (right): https://codereview.chromium.org/220203005/diff/40001/Source/heap/ThreadState.h#newcode554 Source/heap/ThreadState.h:554: bool m_forcedForTesting; On 2014/04/02 06:13:33, haraken wrote: > > ...
6 years, 8 months ago (2014-04-02 07:32:41 UTC) #14
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 8 months ago (2014-04-02 07:32:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/220203005/60001
6 years, 8 months ago (2014-04-02 07:32:58 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 08:07:10 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 8 months ago (2014-04-02 08:07:11 UTC) #18
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 8 months ago (2014-04-02 08:40:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/220203005/80001
6 years, 8 months ago (2014-04-02 08:40:29 UTC) #20
Mads Ager (chromium)
The CQ bit was unchecked by ager@chromium.org
6 years, 8 months ago (2014-04-02 11:09:45 UTC) #21
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 8 months ago (2014-04-02 11:09:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/220203005/80001
6 years, 8 months ago (2014-04-02 11:10:01 UTC) #23
commit-bot: I haz the power
6 years, 8 months ago (2014-04-02 11:10:46 UTC) #24
Message was sent while issue was closed.
Change committed as 170648

Powered by Google App Engine
This is Rietveld 408576698