Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(100)

Issue 1185643002: Lazily constructed bespoke cancellable timer task. (Closed)

Created:
4 years, 10 months ago by alex clarke (OOO till 29th)
Modified:
4 years, 10 months ago
CC:
blink-reviews, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Lazily constructed bespoke cancellable timer task. This is a bit cheaper that using the CancellableTaskFactory and goes part way towards fixing the performance regression in dromaeo.jslibmodifyprototype. For perf results with this patch, see: http://storage.googleapis.com/chromium-telemetry/html-results/results-2015-06-23_10-45-33 and http://storage.googleapis.com/chromium-telemetry/html-results/results-2015-06-23_10-42-47 Testing on a local machine suggests this patch will fix the regression in chromium-rel-win8-dual/memory.idle_multi_tab/commit_charge BUG=498229, 463143 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197752 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197814 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197915

Patch Set 1 #

Patch Set 2 : Fix more stuff #

Patch Set 3 : Remove obsolete asan stuff #

Total comments: 2

Patch Set 4 : Fix UAF bug that occured on worker shutdown, where ~CancellableTimerTask wasn't clearing backref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -17 lines) Patch
M Source/platform/Timer.h View 1 2 3 5 chunks +33 lines, -13 lines 0 comments Download
M Source/platform/Timer.cpp View 1 4 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 59 (24 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/1185643002/1
4 years, 10 months ago (2015-06-22 13:56:00 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/60077)
4 years, 10 months ago (2015-06-22 14:24:28 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/20001
4 years, 10 months ago (2015-06-22 14:49:03 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/60092)
4 years, 10 months ago (2015-06-22 15:11:56 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/40001
4 years, 10 months ago (2015-06-22 16:12:41 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/60111)
4 years, 10 months ago (2015-06-22 16:38:01 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/60001
4 years, 10 months ago (2015-06-22 16:38:08 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/60118)
4 years, 10 months ago (2015-06-22 17:02:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/80001
4 years, 10 months ago (2015-06-22 17:05:32 UTC) #17
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
4 years, 10 months ago (2015-06-22 17:05:36 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/80001
4 years, 10 months ago (2015-06-22 17:06:03 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-22 18:25:12 UTC) #27
alex clarke (OOO till 29th)
4 years, 10 months ago (2015-06-24 09:20:21 UTC) #29
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2015-06-24 14:53:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/80001
4 years, 10 months ago (2015-06-24 15:06:16 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197752
4 years, 10 months ago (2015-06-24 16:09:45 UTC) #33
eae
On 2015/06/24 16:09:45, commit-bot: I haz the power wrote: > Committed patchset #2 (id:80001) as ...
4 years, 10 months ago (2015-06-24 17:08:51 UTC) #34
eae
Revert https://codereview.chromium.org/1211543004
4 years, 10 months ago (2015-06-24 17:12:18 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/100001
4 years, 10 months ago (2015-06-25 09:28:43 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-25 11:27:25 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/100001
4 years, 10 months ago (2015-06-25 11:29:14 UTC) #42
commit-bot: I haz the power
Committed patchset #3 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197814
4 years, 10 months ago (2015-06-25 11:33:46 UTC) #43
sof
https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h File Source/platform/Timer.h (left): https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h#oldcode131 Source/platform/Timer.h:131: #if ENABLE(LAZY_SWEEPING) && defined(ADDRESS_SANITIZER) Looks like not replacing this ...
4 years, 10 months ago (2015-06-25 14:03:42 UTC) #45
alexclarke
On 2015/06/25 14:03:42, sof wrote: > https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h > File Source/platform/Timer.h (left): > > https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h#oldcode131 > ...
4 years, 10 months ago (2015-06-25 14:05:29 UTC) #46
sof
On 2015/06/25 14:05:29, alexclarke wrote: > On 2015/06/25 14:03:42, sof wrote: > > https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h > ...
4 years, 10 months ago (2015-06-25 14:07:42 UTC) #47
alex clarke (OOO till 29th)
A revert of this CL (patchset #3 id:100001) has been created in https://codereview.chromium.org/1204333002/ by alexclarke@chromium.org. ...
4 years, 10 months ago (2015-06-25 16:16:16 UTC) #48
alex clarke (OOO till 29th)
A revert of this CL (patchset #3 id:100001) has been created in https://codereview.chromium.org/1206363002/ by alexclarke@chromium.org. ...
4 years, 10 months ago (2015-06-25 16:38:20 UTC) #49
sof
https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h File Source/platform/Timer.h (right): https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h#newcode91 Source/platform/Timer.h:91: ~CancellableTimerTask() override { } I guess this needs to ...
4 years, 10 months ago (2015-06-26 06:45:06 UTC) #50
alex clarke (OOO till 29th)
On 2015/06/26 06:45:06, sof wrote: > https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h > File Source/platform/Timer.h (right): > > https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h#newcode91 > ...
4 years, 10 months ago (2015-06-26 12:34:18 UTC) #51
sof
On 2015/06/26 12:34:18, alexclarke1 wrote: > On 2015/06/26 06:45:06, sof wrote: > > https://codereview.chromium.org/1185643002/diff/100001/Source/platform/Timer.h > ...
4 years, 10 months ago (2015-06-26 12:38:44 UTC) #52
sof
not a Source/platform/ owner, but lgtm to reland. Thanks for including the ASan annotation on ...
4 years, 10 months ago (2015-06-26 12:40:17 UTC) #53
alex clarke (OOO till 29th)
On 2015/06/26 12:38:44, sof wrote: > On 2015/06/26 12:34:18, alexclarke1 wrote: > > On 2015/06/26 ...
4 years, 10 months ago (2015-06-26 12:43:27 UTC) #54
haraken
LGTM
4 years, 10 months ago (2015-06-26 12:45:55 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185643002/120001
4 years, 10 months ago (2015-06-26 12:47:53 UTC) #58
commit-bot: I haz the power
4 years, 10 months ago (2015-06-26 13:54:13 UTC) #59
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197915

Powered by Google App Engine
This is Rietveld 408576698