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

Unified Diff: Source/platform/heap/StackFrameDepth.h

Issue 910663002: [Oilpan] Set stack limit using estimated sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work for comments Created 5 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
« no previous file with comments | « no previous file | Source/platform/heap/StackFrameDepth.cpp » ('j') | Source/platform/heap/StackFrameDepth.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/StackFrameDepth.h
diff --git a/Source/platform/heap/StackFrameDepth.h b/Source/platform/heap/StackFrameDepth.h
index b4571f43536dc61b104c0041b37a32c93158dc63..2438186fd66a07ff9b30c76c37d35c2bfae32a81 100644
--- a/Source/platform/heap/StackFrameDepth.h
+++ b/Source/platform/heap/StackFrameDepth.h
@@ -50,6 +50,10 @@ private:
// considered safe and allowed.
static const int kSafeStackFrameSize = 32 * 1024;
+ // Do not call functions recursively if remained stack memory is less
+ // than this value.
+ static const int kStackRoomSize;
+
uintptr_t m_stackFrameLimit;
};
« no previous file with comments | « no previous file | Source/platform/heap/StackFrameDepth.cpp » ('j') | Source/platform/heap/StackFrameDepth.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698