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

Issue 1269583002: Fix idle notification for background tab. (Closed)

Created:
5 years, 4 months ago by ulan
Modified:
5 years, 4 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix idle notification for background tab. The idle time handler should never return DONE or DO_SCAVENGE for background tabs. Upon receiving DONE chrome will stop sending idle notifications. BUG=chromium:515174 LOG=NO Committed: https://crrev.com/3c9e8de5e45013b6042841dd7cea4e1b240dfa67 Cr-Commit-Position: refs/heads/master@{#29926}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address Ross' comment #

Patch Set 3 : Typo #

Patch Set 4 : deflake TestIdleNotification by ensuring that sweeping is completed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M src/heap/gc-idle-time-handler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/gc-idle-time-handler.cc View 1 2 4 chunks +10 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
ulan
ptal
5 years, 4 months ago (2015-07-29 17:58:35 UTC) #2
rmcilroy
https://codereview.chromium.org/1269583002/diff/1/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1269583002/diff/1/src/heap/gc-idle-time-handler.cc#newcode205 src/heap/gc-idle-time-handler.cc:205: idle_times_which_made_no_progress_++; Could this cause wrapping of idle_times_which_made_no_progress_? Maybe clap ...
5 years, 4 months ago (2015-07-29 18:11:04 UTC) #4
ulan
https://codereview.chromium.org/1269583002/diff/1/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1269583002/diff/1/src/heap/gc-idle-time-handler.cc#newcode205 src/heap/gc-idle-time-handler.cc:205: idle_times_which_made_no_progress_++; On 2015/07/29 18:11:04, rmcilroy (OOO until 10th Aug) ...
5 years, 4 months ago (2015-07-29 18:21:30 UTC) #5
Hannes Payer (out of office)
lgtm
5 years, 4 months ago (2015-07-29 21:26:02 UTC) #6
rmcilroy
https://codereview.chromium.org/1269583002/diff/1/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1269583002/diff/1/src/heap/gc-idle-time-handler.cc#newcode205 src/heap/gc-idle-time-handler.cc:205: idle_times_which_made_no_progress_++; On 2015/07/29 18:21:30, ulan wrote: > On 2015/07/29 ...
5 years, 4 months ago (2015-07-30 07:14:07 UTC) #7
rmcilroy
lgtm++
5 years, 4 months ago (2015-07-30 07:14:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269583002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269583002/20001
5 years, 4 months ago (2015-07-30 08:35:43 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/8217)
5 years, 4 months ago (2015-07-30 08:45:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269583002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269583002/40001
5 years, 4 months ago (2015-07-30 08:54:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/8224)
5 years, 4 months ago (2015-07-30 09:25:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269583002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269583002/60001
5 years, 4 months ago (2015-07-30 09:40:25 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-07-30 10:38:17 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-07-30 10:38:41 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3c9e8de5e45013b6042841dd7cea4e1b240dfa67
Cr-Commit-Position: refs/heads/master@{#29926}

Powered by Google App Engine
This is Rietveld 408576698