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

Issue 2158023005: cc: Remove retro frame logic from scheduler. (Closed)

Created:
4 years, 5 months ago by sunnyps
Modified:
3 years, 9 months ago
Reviewers:
brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove retro frame logic from scheduler. The retro frame logic is overly complex and has surprising behavior such as converting begin frames into PostTasks. This has been replaced with a simpler callback that's only used for MISSED begin frames. R=brianderson@chromium.org BUG=602485 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -491 lines) Patch
M cc/scheduler/scheduler.h View 3 chunks +2 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler.cc View 10 chunks +23 lines, -110 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 chunk +3 lines, -0 lines 1 comment Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 5 chunks +39 lines, -25 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 4 chunks +32 lines, -340 lines 0 comments Download
M cc/test/scheduler_test_common.h View 3 chunks +7 lines, -4 lines 0 comments Download
M cc/test/scheduler_test_common.cc View 4 chunks +21 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (6 generated)
sunnyps
PTAL :)
4 years, 5 months ago (2016-07-18 22:58:15 UTC) #3
brianderson
Didn't get to look at the tests yet, but the logic is looking good. Just ...
4 years, 5 months ago (2016-07-20 00:35:13 UTC) #7
brianderson
4 years, 5 months ago (2016-07-20 17:12:20 UTC) #8
Looks like some of the trybots hit a dcheck:

  [517:517:0718/161836:FATAL:begin_frame_tracker.cc(33)] Check failed:
current_args_.frame_time <= new_args.frame_time (139745318857254
bogo-microseconds vs. 6384277952 bogo-microseconds)
  #0 0x7f18fb4c59de base::debug::StackTrace::StackTrace()
  #1 0x7f18fb4dd85b logging::LogMessage::~LogMessage()
  #2 0x7f18fc3313e6 cc::BeginFrameTracker::Start()
  #3 0x7f18fc3380d6 cc::Scheduler::BeginImplFrame()
  #4 0x7f18fc3379a9 cc::Scheduler::BeginImplFrameWithDeadline()
  #5 0x7f18fc3372f3 cc::Scheduler::OnBeginFrameDerivedImpl()
  #6 0x7f18fc280c9d cc::BeginFrameObserverBase::OnBeginFrame()
  #7 0x7f18fc281cfb cc::DelayBasedBeginFrameSource::OnTimerTick()
  #8 0x7f18fc282309 cc::DelayBasedTimeSource::OnTimerTick()
  #9 0x7f18fb555199 base::debug::TaskAnnotator::RunTask()
  #10 0x7f18fb4e4f95 base::MessageLoop::RunTask()
  #11 0x7f18fb4e52a8 base::MessageLoop::DeferOrRunPendingTask()
  #12 0x7f18fb4e57de base::MessageLoop::DoDelayedWork()
  #13 0x7f18fb4e70e7 base::MessagePumpGlib::Run()
  #14 0x7f18fb4e4a91 base::MessageLoop::RunHandler()
  #15 0x7f18fb507bc0 base::RunLoop::Run()
  #16 0x7f18fb3a6eaa ChromeBrowserMainParts::MainMessageLoopRun()
  #17 0x7f18f8d7b499 content::BrowserMainLoop::RunMainMessageLoopParts()
  #18 0x7f18f8d7e758 content::BrowserMainRunnerImpl::Run()
  #19 0x7f18f8d76fac content::BrowserMain()
  #20 0x7f18fb103b2b content::RunNamedProcessTypeMain()
  #21 0x7f18fb1045a3 content::ContentMainRunnerImpl::Run()
  #22 0x7f18fb102e70 content::ContentMain()
  #23 0x7f18f87258bb ChromeMain
  #24 0x7f18f17717ed __libc_start_main
  #25 0x7f18f872578d <unknown>

Powered by Google App Engine
This is Rietveld 408576698