• 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
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
arguments-inl.h Loading commit data...
arguments.cc Loading commit data...
arguments.h Loading commit data...
execution.cc Loading commit data...
execution.h Loading commit data...
external-pointer-table.cc Loading commit data...
external-pointer-table.h Loading commit data...
frame-constants.h Loading commit data...
frames-inl.h Loading commit data...
frames.cc Loading commit data...
frames.h Loading commit data...
futex-emulation.cc Loading commit data...
futex-emulation.h Loading commit data...
interrupts-scope.cc Loading commit data...
interrupts-scope.h Loading commit data...
isolate-data.h Loading commit data...
isolate-inl.h Loading commit data...
isolate-utils-inl.h Loading commit data...
isolate-utils.h Loading commit data...
isolate.cc Loading commit data...
isolate.h Loading commit data...
local-isolate-inl.h Loading commit data...
local-isolate.cc Loading commit data...
local-isolate.h Loading commit data...
messages.cc Loading commit data...
messages.h Loading commit data...
microtask-queue.cc Loading commit data...
microtask-queue.h Loading commit data...
pointer-authentication-dummy.h Loading commit data...
pointer-authentication.h Loading commit data...
protectors-inl.h Loading commit data...
protectors.cc Loading commit data...
protectors.h Loading commit data...
runtime-profiler.cc Loading commit data...
runtime-profiler.h Loading commit data...
simulator-base.cc Loading commit data...
simulator-base.h Loading commit data...
simulator.h Loading commit data...
stack-guard.cc Loading commit data...
stack-guard.h Loading commit data...
thread-id.cc Loading commit data...
thread-id.h Loading commit data...
thread-local-top.cc Loading commit data...
thread-local-top.h Loading commit data...
v8threads.cc Loading commit data...
v8threads.h Loading commit data...
vm-state-inl.h Loading commit data...
vm-state.h Loading commit data...