[webkit-changes] [WebKit/WebKit] 052b3e: REGRESSION(271529 at main): Volatility timer stops be...

mattwoodrow noreply at github.com
Thu Dec 7 18:08:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 052b3e14ae006698e648810fe1182afb2f76bef3
      https://github.com/WebKit/WebKit/commit/052b3e14ae006698e648810fe1182afb2f76bef3
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.mm

  Log Message:
  -----------
  REGRESSION(271529 at main): Volatility timer stops before all surfaces are made volatile and never completes.
https://bugs.webkit.org/show_bug.cgi?id=266034
<rdar://119344111>

Reviewed by Dan Glastonbury.

If `identifiers` is empty it means we didn't collect any right now, not that
there weren't any to be collected.

We should only stop the timer if `collectedAllRemoteRenderingBuffers` is true
(as well as `successfullyMadeBackingStoreVolatile`).

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.mm:
(WebKit::RemoteLayerBackingStoreCollection::markAllBackingStoreVolatileFromTimer):

Canonical link: https://commits.webkit.org/271704@main




More information about the webkit-changes mailing list