DescriptionSwitched GPU watchdog timeout to be based on main thread's user + kernel time rather than wall clock time on Windows.
Only on Windows because it is the only platform 58396 appears to be happening on. My latest hairbrained theory is that it is timing out and aborting while Windows boxes are resuming from hypernation. In that case wall clock time might incorporate a lot of I/O time for paging in data from swapfile. This is an attempt to hide that I/O time, counting only active CPU time.
It catches hangs like this:
for (;;) {
}
and this:
for (;;) {
Sleep(0);
}
but not this:
for (;;) {
Sleep(1000);
}
because that just makes the thread largely idle. It also does not catch deadlocks.
Also fixed null dereference in GPU watchdog termination code.
BUG=64648, 58396
TEST=test GPU watchdog locally, try
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67891
Patch Set 1 #
Total comments: 1
Patch Set 2 : '' #
Messages
Total messages: 4 (0 generated)
|