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

Unified Diff: src/execution.h

Issue 6542047: Basic implementation of incremental marking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 10 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
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index cb07807c06c98b4a77548742ac8c40ea497b4169..e5a764aa5c97e783525680746912d5f64b214f68 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -39,7 +39,8 @@ enum InterruptFlag {
DEBUGCOMMAND = 1 << 2,
PREEMPT = 1 << 3,
TERMINATE = 1 << 4,
- RUNTIME_PROFILER_TICK = 1 << 5
+ RUNTIME_PROFILER_TICK = 1 << 5,
+ GC_REQUEST = 1 << 6
};
class Execution : public AllStatic {
@@ -184,6 +185,8 @@ class StackGuard : public AllStatic {
static bool IsDebugCommand();
static void DebugCommand();
#endif
+ static bool IsGCRequest();
+ static void RequestGC();
static void Continue(InterruptFlag after_what);
// This provides an asynchronous read of the stack limits for the current

Powered by Google App Engine
This is Rietveld 408576698