• Dominik Inführ's avatar
    Reland "[compiler, heap] Create LocalHeap outside of ExecuteJob" · de914c75
    Dominik Inführ authored
    This is a reland of 44708a5b
    
    Original change's description:
    > [compiler, heap] Create LocalHeap outside of ExecuteJob
    >
    > Create LocalHeap directly in the Task or in GetOptimizedCodeNow and
    > pass its reference as argument to ExecuteJob. This allows us to create
    > LocalHeap differently for the main and background thread, e.g. by
    > passing an additional argument to the constructor in the future.
    > It will be required in the future anyways when the main thread will
    > have its own LocalHeap/LocalIsolate.
    >
    > Extending the scope of LocalHeap, also made
    > HandleBase::IsDereferenceAllowed more precise and uncovered two
    > potential issues: heap accesses in
    > OptimizingCompileDispatcher::CompileNext and PipelineImpl::AssembleCode
    > with --code-comments.
    >
    > LocalHeap can now be created in the parked state. Also fixed a data
    > race with LocalHeap's destructor publishing write barrier entries
    > without holding the lock.
    >
    > Bug: v8:10315
    > Change-Id: I9226972601a07b87108cd66efbbb6a0d118af58d
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2460818
    > Commit-Queue: Georg Neis <neis@chromium.org>
    > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
    > Reviewed-by: Santiago Aboy Solanes <solanes@chromium.org>
    > Reviewed-by: Georg Neis <neis@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#70521}
    
    Bug: v8:10315
    Change-Id: I4c459fd6dfb98d47fc9941c0dc6864bf5a1d2d3e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2474788Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70560}
    de914c75
Name
Last commit
Last update
..
base Loading commit data...
cppgc Loading commit data...
allocation-observer-unittest.cc Loading commit data...
barrier-unittest.cc Loading commit data...
bitmap-test-utils.h Loading commit data...
bitmap-unittest.cc Loading commit data...
code-object-registry-unittest.cc Loading commit data...
embedder-tracing-unittest.cc Loading commit data...
gc-idle-time-handler-unittest.cc Loading commit data...
gc-tracer-unittest.cc Loading commit data...
heap-controller-unittest.cc Loading commit data...
heap-unittest.cc Loading commit data...
heap-utils.h Loading commit data...
index-generator-unittest.cc Loading commit data...
item-parallel-job-unittest.cc Loading commit data...
js-member-unittest.cc Loading commit data...
list-unittest.cc Loading commit data...
local-factory-unittest.cc Loading commit data...
local-heap-unittest.cc Loading commit data...
marking-unittest.cc Loading commit data...
marking-worklist-unittest.cc Loading commit data...
memory-reducer-unittest.cc Loading commit data...
object-start-bitmap-unittest.cc Loading commit data...
object-stats-unittest.cc Loading commit data...
persistent-handles-unittest.cc Loading commit data...
safepoint-unittest.cc Loading commit data...
slot-set-unittest.cc Loading commit data...
spaces-unittest.cc Loading commit data...
unified-heap-unittest.cc Loading commit data...
unmapper-unittest.cc Loading commit data...
worklist-unittest.cc Loading commit data...