• Michael Achenbach's avatar
    Revert "[heap] Introduce LocalIsolate for main thread" · 9235f258
    Michael Achenbach authored
    This reverts commit e95e1b62.
    
    Reason for revert:
    https://ci.chromium.org/p/v8/builders/ci/V8%20Linux%20-%20arm%20-%20sim%20-%20debug/23064
    
    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}
    
    TBR=ulan@chromium.org,yangguo@chromium.org,neis@chromium.org,leszeks@chromium.org,szuend@chromium.org,dinfuehr@chromium.org
    
    Change-Id: Ia70b4bfe3b8fa26bf8d6a7dc612a310b0ed54073
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:10315
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543937Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71228}
    9235f258
test-local-handles.cc 3.88 KB