Index: src/handles.h |
diff --git a/src/handles.h b/src/handles.h |
index eb57f0e26089383c9d7fe9f57a8cba5f41a111e2..4cbab0f42c682199c020b00b1b69450e3f955a0d 100644 |
--- a/src/handles.h |
+++ b/src/handles.h |
@@ -208,6 +208,8 @@ class HandleScope { |
Isolate* isolate() { return isolate_; } |
+ static const int kCheckHandleThreshold = 16 * 1024; |
+ |
private: |
// Prevent heap allocation or illegal handle scopes. |
HandleScope(const HandleScope&); |