Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
638a5c7
deps: update V8 to 9.2.230.21
targos Jul 20, 2021
4c23bab
build: reset embedder string to "-node.0"
targos Jul 20, 2021
7d8a1c7
deps: V8: un-cherry-pick bd019bd
refack Mar 27, 2019
6ed4a86
deps: V8: patch register-arm64.h
refack May 22, 2019
543332a
deps: V8: forward declaration of `Rtl*FunctionTable`
refack May 22, 2019
5a08ec7
deps: make v8.h compatible with VS2015
joaocgreis Nov 1, 2019
f025f24
deps: fix V8 build issue with inline methods
gengjiawen Oct 14, 2020
87333cf
deps: silence irrelevant V8 warnings
targos Jan 30, 2021
b91e49c
deps: silence irrelevant V8 warning
targos May 1, 2021
2c8be6d
tools: update V8 gypfiles for 9.2
targos Apr 11, 2021
512659e
src: use non-deprecated Symbol::Description
targos Apr 14, 2021
5a650f8
src: stop using deprecated v8::ApiObject
targos Apr 26, 2021
9a78845
test: update trace events test expectations
targos Apr 21, 2021
7aaa214
test: remove test-debug-args
targos Apr 26, 2021
dbe4a0b
test: ensure microtask queues are not automatically drained
jeisinger Apr 29, 2021
62349be
deps: V8: cherry-pick 3d24b3ab8af0
targos Jun 10, 2021
8ec3459
deps: V8: backport 71e8f8bb3c26
targos Jun 16, 2021
d518175
deps: V8: cherry-pick 986299250e6d
richardlau Jun 16, 2021
bc48c1e
deps: V8: cherry-pick a5cea1bfc38c
targos Jun 20, 2021
24078b2
deps: V8: cherry-pick 7ff6609a5385
targos Jun 20, 2021
7f7e8df
deps: V8: cherry-pick 53784bdb8f01
targos Jul 10, 2021
2cde0ab
deps: V8: cherry-pick 2b77ca200c56
targos Jul 10, 2021
fdaddab
deps: V8: cherry-pick 56fe020eec0c
targos Jul 10, 2021
dcb52a9
deps: V8: cherry-pick 3805a698f7b6
targos Jul 10, 2021
a47081b
deps: V8: cherry-pick 359d44df4cdd
targos Jul 10, 2021
bd01a54
deps: V8: backport 5c76da8ddcf8
targos Jul 10, 2021
3d4413b
tools: fetch googletest dependency for V8 CI
targos Jul 14, 2021
38c82dc
deps: make V8 9.2 abi-compatible with 9.0
targos Jul 20, 2021
2f4bb0e
deps: restore minimum ICU version to 68
targos Jul 20, 2021
0d09b3e
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 20, 2021
d06c730
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 20, 2021
6bb96dd
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 22, 2021
f9b7513
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 23, 2021
d171381
fixup! squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: make V8 9.2 abi-compatible with 9.0
Revert "[api] Avoid handles for const API functions"

This reverts commit aee471b2ff5b1a9e622426454885b748d226535b.

Revert "[api] Remove deprecated [Shared]ArrayBuffer API"

This reverts commit 578f6be77fc5d8af975005c2baf918e7225abb62.

Revert "[Jobs]: Cleanup in v8 platform."

This reverts commit baf2b088dd9f585aa597459f30d71431171666e2.

Revert "Skip global registration of [Shared]ArrayBuffer backing stores"

This reverts commit fcdf35e6d70d51699ece063e25dc705e80673308.

Revert "[api] Remove previously deprecated Function::GetDisplayName()."

This reverts commit 6165fef8cc9dde52973e54c915e6905221b3f8fb.

Revert "[api] Remove deprecated Symbol::Name()"

This reverts commit bbc72ef6c7d6d8e2c4dd074d7713e5c841003163.

Revert API change for HeapProfiler::TakeHeapSnapshot

This reverts a small part of 7f52e4f92d3d3ded9a1701ee2f93966075ae5004.

Revert "[cpu-profiler] Reintroduce support for context filtering"

This reverts commit 0aacfb2a6ecbeda1d1d97ca113afd8253a1b9670.
  • Loading branch information
targos committed Jul 20, 2021
commit 38c82dcc50cff7f664017ee268502ef24bb9984d
18 changes: 16 additions & 2 deletions deps/v8/include/v8-platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ class JobDelegate {
/**
* Returns true if the current task is called from the thread currently
* running JobHandle::Join().
* TODO(etiennep): Make pure virtual once custom embedders implement it.
*/
virtual bool IsJoiningThread() const = 0;
virtual bool IsJoiningThread() const { return false; }
};

/**
Expand Down Expand Up @@ -219,21 +220,30 @@ class JobHandle {
* Forces all existing workers to yield ASAP but doesn’t wait for them.
* Warning, this is dangerous if the Job's callback is bound to or has access
* to state which may be deleted after this call.
* TODO(etiennep): Cleanup once implemented by all embedders.
*/
virtual void CancelAndDetach() = 0;
virtual void CancelAndDetach() { Cancel(); }

/**
* Returns true if there's any work pending or any worker running.
*/
virtual bool IsActive() = 0;

// TODO(etiennep): Clean up once all overrides are removed.
V8_DEPRECATED("Use !IsActive() instead.")
virtual bool IsCompleted() { return !IsActive(); }

/**
* Returns true if associated with a Job and other methods may be called.
* Returns false after Join() or Cancel() was called. This may return true
* even if no workers are running and IsCompleted() returns true
*/
virtual bool IsValid() = 0;

// TODO(etiennep): Clean up once all overrides are removed.
V8_DEPRECATED("Use IsValid() instead.")
virtual bool IsRunning() { return IsValid(); }

/**
* Returns true if job priority can be changed.
*/
Expand Down Expand Up @@ -262,6 +272,10 @@ class JobTask {
* it must not call back any JobHandle methods.
*/
virtual size_t GetMaxConcurrency(size_t worker_count) const = 0;

// TODO(1114823): Clean up once all overrides are removed.
V8_DEPRECATED("Use the version that takes |worker_count|.")
virtual size_t GetMaxConcurrency() const { return 0; }
};

/**
Expand Down
11 changes: 3 additions & 8 deletions deps/v8/include/v8-profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ class V8_EXPORT CpuProfilingOptions {
* interval, set via SetSamplingInterval(). If
* zero, the sampling interval will be equal to
* the profiler's sampling interval.
* \param filter_context If specified, profiles will only contain frames
* using this context. Other frames will be elided.
* \param filter_context Deprecated option to filter by context, currently a
* no-op.
*/
CpuProfilingOptions(
CpuProfilingMode mode = kLeafNodeLineNumbers,
Expand All @@ -304,13 +304,9 @@ class V8_EXPORT CpuProfilingOptions {
private:
friend class internal::CpuProfile;

bool has_filter_context() const { return !filter_context_.IsEmpty(); }
void* raw_filter_context() const;

CpuProfilingMode mode_;
unsigned max_samples_;
int sampling_interval_us_;
CopyablePersistentTraits<Context>::CopyablePersistent filter_context_;
};

/**
Expand Down Expand Up @@ -902,8 +898,7 @@ class V8_EXPORT HeapProfiler {
const HeapSnapshot* TakeHeapSnapshot(
ActivityControl* control = nullptr,
ObjectNameResolver* global_object_name_resolver = nullptr,
bool treat_global_objects_as_roots = true,
bool capture_numeric_value = false);
bool treat_global_objects_as_roots = true);

/**
* Starts tracking of heap objects population statistics. After calling
Expand Down
Loading