Yes, I think root processing could be done in parallel to 2) and 3) as 
well. It just wasn't considered important enough yet (current plan is to 
use minor MC for production in the future).

Cheers,
Dominik

On Wednesday, June 8, 2022 at 12:46:12 PM UTC+2 [email protected] wrote:

> There are three phases in scavenger.
> 1. Scavenge root.
> 2. Scavenge old_to_new objects.
> 3. Drain out the copy and promotion lists.
>
> Now, step 1  runs on the main thread. And 2 and 3 are packed as a task job 
> and run in parallel (both main and worker thread).
>
> I wonder if it possible to run step 2 on worker thread when running step 1 
> on main thread.
>
> Thanks.
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/46ae8056-c481-4f9b-943f-2226d47c4f89n%40googlegroups.com.

Reply via email to