v8/test/inspector
Nico Hartmann 617d4ed8e9 Revert "[heap] Load MarkingBarrier from thread local on main thread"
This reverts commit 910def9edc.

Reason for revert: Speculative Revert https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20TSAN%20-%20stress-incremental-marking/9800/overview

Original change's description:
> [heap] Load MarkingBarrier from thread local on main thread
>
> Each thread has its own MarkingBarrier instance for incremental
> marking. A thread local variable is used to get the current thread's
> instance on background threads.
>
> However on main threads this thread local variable was always
> set to nullptr. The main thread would get to its own instance through
> the heap_ field in the host object's page header. This was solved this
> way because setting current_marking_barrier on the main thread
> seemed quite complex. Multiple isolates may be run on the same thread
> and isolates may even be migrated between threads.
>
> However, with --shared-space loading the heap_ field for a shared
> object would return the main isolate's heap and we end up with
> the wrong MarkingBarrier instance on client isolates. So this
> CL makes main and background threads more uniform by setting the
> thread local field also on the main thread. The field is set by
> the already existing v8::Isolate::Scope API. Some embedders might have
> to add these scopes if they don't use them properly already.
>
> Bug: v8:13267
> Change-Id: Idfdaf35073d04dd5e13ad6065ef42eae3ce6a259
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3998633
> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#84144}

Bug: v8:13267
Change-Id: Id8493dfac03d789721ca30cd29b0dd4b67006881
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4017192
Owners-Override: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84151}
2022-11-09 15:13:44 +00:00
..
console [inspector] Rename console.scheduleTask to console.createTask 2022-07-27 06:09:27 +00:00
cpu-profiler [wasm] Add more output to console-profile-wasm test 2022-10-17 15:18:25 +00:00
debugger [inspector] Trigger requested pause after instrumentation pause 2022-11-09 09:42:37 +00:00
heap-profiler Don't run sampling-heap-profiler-flags with stress-incremental-marking 2022-09-15 12:53:28 +00:00
regress [inspector] Add regression test for hoisting and debug-evaluate 2022-11-09 11:09:18 +00:00
runtime [inspector] Add [[WeakRefTarget]] internal property. 2022-10-21 12:14:52 +00:00
sessions [inspector] Correct location for inline scripts with sourceURL. 2021-12-29 15:39:22 +00:00
BUILD.gn
DEPS [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
DIR_METADATA
frontend-channel.h [execution] Pass microtask queue from Context to MicrotasksScope 2022-10-19 14:56:37 +00:00
inspector-test.cc Reland "[flags] Remove FLAG_* aliases" 2022-10-14 13:13:55 +00:00
inspector.status [inspector] Remove Type Profiler 2022-10-10 11:50:16 +00:00
isolate-data.cc Revert "[heap] Load MarkingBarrier from thread local on main thread" 2022-11-09 15:13:44 +00:00
isolate-data.h [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
json-parse-expected.txt
json-parse.js
OWNERS
print-method-not-found-expected.txt
print-method-not-found.js
protocol-test.js [wasm-gc][debugger] Fix struct_index retrieval for generic references 2022-08-24 13:25:50 +00:00
task-runner.cc Reland "[flags] Remove FLAG_* aliases" 2022-10-14 13:13:55 +00:00
task-runner.h [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
tasks.cc [execution] Pass microtask queue from Context to MicrotasksScope 2022-10-19 14:56:37 +00:00
tasks.h [execution] Pass microtask queue from Context to MicrotasksScope 2022-10-19 14:56:37 +00:00
testcfg.py [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
utils.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
utils.h [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
wasm-inspector-test.js [wasm-gc] Debugger: Provide type info for structs and arrays in tables 2022-08-26 14:51:20 +00:00