v8/src/profiler
Dominik Inführ 116ca00f20 [execution] Move v8::Locker::WasEverUsed() flag into Isolate
So far this flag was process-global, so if one isolate used v8::Locker
all isolates were forced to use v8::Locker. With the shared isolate
now being a thing that routinely gets migrated between different
threads, all users of the shared isolate would be forced to use
v8::Locker. So we now store that flag on the isolate such that using
v8::Locker for the shared isolate does not affect other isolates.

Deprecate v8::Locker::WasEverUsed() at the same time.

Bug: v8:11708
Change-Id: I60531f084cc1b1b113620c46f5bed20511f52c26
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3401595
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78712}
2022-01-20 19:08:49 +00:00
..
allocation-tracker.cc [ext-code-space] Introduce managed-inl.h and global-handles-inl.h 2021-09-20 10:29:29 +00:00
allocation-tracker.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
circular-queue-inl.h [cleanup] Refactor profiler to use default members. 2018-09-19 15:36:30 +00:00
circular-queue.h [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in profiler/ 2020-11-11 01:17:06 +00:00
cpu-profiler-inl.h [cpu-profiler] Reland reference counting for code entries 2021-06-16 18:19:50 +00:00
cpu-profiler.cc [execution] Move v8::Locker::WasEverUsed() flag into Isolate 2022-01-20 19:08:49 +00:00
cpu-profiler.h [cleanup][profiler] Rename CodeEventRecord::NONE to kNoEvent 2021-11-24 11:54:49 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
heap-profiler.cc Heap Number encoding 2021-04-16 02:29:06 +00:00
heap-profiler.h Heap Number encoding 2021-04-16 02:29:06 +00:00
heap-snapshot-generator-inl.h Move string-related files to src/strings 2019-05-21 07:17:48 +00:00
heap-snapshot-generator.cc Reland "[runtime] Adds LocalNameIterator" 2022-01-17 17:20:40 +00:00
heap-snapshot-generator.h [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
OWNERS Remove ulan@ from OWNERS 2021-06-08 13:10:21 +00:00
profile-generator-inl.h [cpu-profiler] Reland reference counting for code entries 2021-06-16 18:19:50 +00:00
profile-generator.cc Reland "[profiler] Surface VM & Embedder State" 2021-12-07 19:00:07 +00:00
profile-generator.h Reland "[profiler] Surface VM & Embedder State" 2021-12-07 19:00:07 +00:00
profiler-listener.cc Remove the turboprop implementation 2022-01-20 12:31:39 +00:00
profiler-listener.h Remove the turboprop implementation 2022-01-20 12:31:39 +00:00
profiler-stats.cc [cpu-profiler] Ensure sampled thread has Isolate lock under Windows 2020-09-16 16:17:39 +00:00
profiler-stats.h [cpu-profiler] Ensure sampled thread has Isolate lock under Windows 2020-09-16 16:17:39 +00:00
sampling-heap-profiler.cc [ext-code-space] Make HeapObject::IsBlah() predicates faster 2021-11-30 14:08:57 +00:00
sampling-heap-profiler.h [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in profiler/ 2020-11-11 01:17:06 +00:00
strings-storage.cc [cpu-profiler] Add method to estimate mem size of ProfilerCodeObserver 2021-08-23 19:07:15 +00:00
strings-storage.h [cpu-profiler] Add method to estimate mem size of ProfilerCodeObserver 2021-08-23 19:07:15 +00:00
symbolizer.cc [profiler] Fix -Wshadow warnings 2021-11-08 17:44:35 +00:00
symbolizer.h [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in profiler/ 2020-11-11 01:17:06 +00:00
tick-sample.cc Reland "[profiler] Surface VM & Embedder State" 2021-12-07 19:00:07 +00:00
tick-sample.h Reland "[profiler] Surface VM & Embedder State" 2021-12-07 19:00:07 +00:00
tracing-cpu-profiler.cc [cpu-profiler] Remove hi-res options via tracing category 2020-05-14 15:30:04 +00:00
tracing-cpu-profiler.h [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in profiler/ 2020-11-11 01:17:06 +00:00
weak-code-registry.cc [ext-code-space] Introduce managed-inl.h and global-handles-inl.h 2021-09-20 10:29:29 +00:00
weak-code-registry.h [cpu-profiler] Track code object deletion using WeakCodeRegistry 2021-03-22 22:52:26 +00:00