On 2012/06/22 10:04:17, sanjoy wrote:
I think this approach does allow multiple threads of compilation. The GatheringHandleScope needs to be constructed and destructed on the mutator / GC thread synchronously (since we create Handles then), but other than that, any number of compilation threads could be running at the same time. The fix for allowing correct root traversal (using last_block_before_compilation_) is only needed when there is a GC _while_ we're creating Handles inside a GatheringHandleScope (which doesn't happens on the mutator / GC thread).
Ah yes, now I see this part. http://codereview.chromium.org/10640012/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
