On Thu, Nov 10, 2016 at 9:30 PM Jay <[email protected]> wrote:

> Hi,
>
> I have some questions about concurrent recompilation for Crankshaft.
>
> 1. Crankshaft's compilation is 3-step: CreateGraph, OptimizeGraph and
> GenerateCode.  It seems like only the second step is done on the background
> thread concurrently.  What prevents the other steps to be parallelized as
> well?
>

The other steps access javascript objects on the heap, an operation that is
not thread-safe in v8.


>
> 2. It seems like that it does not use concurrent recompilation for OSR.
> Why is it?
>

For OSR, we need the code as soon as possible. We used to use concurrent
recompilation for this, but it often happened that when the code was
compiled, we no longer needed it.


>
> Thanks,
> Jay
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to