• Dominik Inführ's avatar
    Reland "[heap] Introduce LocalIsolate for main thread" · dc45361e
    Dominik Inführ authored
    This is a reland of e95e1b62
    
    After landing https://crrev.com/c/2546682, this CL can be relanded
    without changes.
    
    Original change's description:
    > [heap] Introduce LocalIsolate for main thread
    >
    > Add a LocalIsolate for the main thread to Isolate. This LocalIsolate is
    > kept alive during the whole lifetime of the Isolate. The main thread
    > LocalIsolate starts in the Running state in contrast to the background
    > thread LocalIsolates (those start in Parked).
    >
    > Code paths in Turbofan that used to create a LocalIsolate on the main
    > thread can now simply use the main thread LocalIsolate.
    >
    > LocalIsolate for the main thread will help in reducing differences
    > between the main and background threads. The goal is that the main
    > thread behaves more like a background thread.
    >
    > The main thread LocalIsolate should also make it simpler to share code
    > between main thread and background threads by using LocalIsolate for
    > both.
    >
    > Bug: v8:10315
    > Change-Id: I7fd61d305a6fd7079e2319d75c291c1021e70018
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2509593
    > Reviewed-by: Simon Zünd <szuend@chromium.org>
    > Reviewed-by: Yang Guo <yangguo@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
    > Reviewed-by: Georg Neis <neis@chromium.org>
    > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#71226}
    
    Bug: v8:10315
    Change-Id: I418b1217aeac4f3c44a0aa514dea9864f8a58656
    TBR: szuend@chromium.org, yangguo@chromium.org, ulan@chromium.org, leszeks@chromium.org, neis@chromium.org
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543399Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71274}
    dc45361e
concurrent-allocator-inl.h 1.51 KB