We found on our port where we have RELEASE_LOG_DISABLED set that evictCodedFrames would sometimes evict after the current position even if it freed up enough space during the first part of the eviction. It looks like a log change from a while ago changed the block that checked whether the buffer was still full and to log and return to only happen if logging was not disabled which changed the behavior since the return no longer happened either.
Created attachment 412356 [details] Patch
Committed r269001: <https://trac.webkit.org/changeset/269001> All reviewed patches have been landed. Closing bug and clearing flags on attachment 412356 [details].
<rdar://problem/70701318>