On Wed, Aug 27, 2014 at 11:25 AM, Cameron Zwarich <zwar...@mozilla.com>
wrote:

> 1) Script task completes execution.
>
> 2) Some external stimulus triggers layout.
>
> 3) Flow tree construction takes the DOM lock, creates the flow tree, and
> releases it.
>
> 4) Before layout actually begins, the script task begins execution and
> queries layout.
>
> What should happen here? Does the script task always wait for layout to
> complete?


Seems so.


> Also, is there a solution that is better than the use of coarse-grained
> locks that doesn’t require the use of copy-on-write data structures?


Unclear.


> Does this really leave much practical script/layout parallelism on the
> table?
>

I assume so, since a lot of JS scripts don't need to read layout. But it
would be good to measure.

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to