Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: include/v8.h

Issue 2051103002: Move EmbedderHeapTracer::TracePrologue call to the beginning of full gc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add abort Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/heap/incremental-marking.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 07513aa820117b8442135e3b986c55d88192f3b3..593b1694cc7a4be1fd4c755e491cf752090da38e 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -5479,6 +5479,11 @@ class V8_EXPORT EmbedderHeapTracer {
*/
virtual void TraceEpilogue() = 0;
+ /**
+ * Throw away all intermediate data and reset to the initial state.
+ */
+ virtual void AbortTracing() {}
+
protected:
virtual ~EmbedderHeapTracer() = default;
};
« no previous file with comments | « no previous file | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698