DescriptionEnsure that GC idle notifications either make progress or stop requesting more GCs.
The V8::IdleNotification will only return 'True' when the gc idle time handler
thinks there is no more GC which can be done. However, the gc idle task handler
can end up repeatedly making no progress (e.g., if it can't finalize a sweep)
which causes idle tasks to be repeatedly scheduled in Chrome which do nothing
but wake up Chrome. Fix this by returning Done if we can't make any progress
within an Idle Round.
BUG=chromium:470615
LOG=Y
Committed: https://crrev.com/00477a5d72e1246d9611966a0b4c708f90a2228e
Cr-Commit-Position: refs/heads/master@{#27529}
Patch Set 1 #Patch Set 2 : Add tests #Patch Set 3 : size_t -> int #
Messages
Total messages: 16 (5 generated)
|