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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 1409243011: Precisely determine Windows thread stack size (reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gracefully handle yellow zone at the end of the stack Created 5 years, 2 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: third_party/WebKit/Source/platform/heap/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 9bcef40fe0ab6da5e96b0bc08bdcff9385ffb2f2..b0ac9f76bc0828dcbdb89d5d5a7cad54e666b1da 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -576,6 +576,10 @@ public:
void allocationPointAdjusted(int heapIndex);
void promptlyFreed(size_t gcInfoIndex);
+#if OS(WIN) && COMPILER(MSVC)
+ size_t threadStackSize();
+#endif
+
private:
enum SnapshotType {
HeapSnapshot,
@@ -683,8 +687,12 @@ private:
ThreadIdentifier m_thread;
OwnPtr<PersistentRegion> m_persistentRegion;
BlinkGC::StackState m_stackState;
+#if OS(WIN) && COMPILER(MSVC)
+ size_t m_threadStackSize;
+#endif
intptr_t* m_startOfStack;
intptr_t* m_endOfStack;
+
void* m_safePointScopeMarker;
Vector<Address> m_safePointStackCopy;
bool m_atSafePoint;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698