The regions that create dependency cycles between flows (invalid regions) and valid regions reside in the same list. This adds complexity to the code because iterations through the region list need to check the validity of the items. Getting the first/last valid region is also overly-complicated (the first/last invalid regions need to be skipped). There should be a separate low traffic list for the invalid regions that's used when dependencies between flow threads change.
Created attachment 167765 [details] Patch
Comment on attachment 167765 [details] Patch Attachment 167765 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14248101 New failing tests: fast/regions/flows-dependency-same-flow.html fast/frames/frame-limit.html
Created attachment 167958 [details] Patch
Comment on attachment 167958 [details] Patch Attachment 167958 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14229968 New failing tests: fast/regions/flows-dependency-same-flow.html
Created attachment 167983 [details] Patch
Comment on attachment 167983 [details] Patch Love it! r=me
Comment on attachment 167983 [details] Patch Clearing flags on attachment: 167983 Committed r130918: <http://trac.webkit.org/changeset/130918>
All reviewed patches have been landed. Closing bug.