Title: [100406] trunk/Source/_javascript_Core
- Revision
- 100406
- Author
- [email protected]
- Date
- 2011-11-15 22:21:01 -0800 (Tue, 15 Nov 2011)
Log Message
Remove the guard page from the addressable stack region on QNX.
https://bugs.webkit.org/show_bug.cgi?id=72455
Reviewed by Daniel Bates.
* wtf/StackBounds.cpp:
(WTF::StackBounds::initialize):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (100405 => 100406)
--- trunk/Source/_javascript_Core/ChangeLog 2011-11-16 06:06:21 UTC (rev 100405)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-11-16 06:21:01 UTC (rev 100406)
@@ -1,3 +1,13 @@
+2011-11-15 George Staikos <[email protected]>
+
+ Remove the guard page from the addressable stack region on QNX.
+ https://bugs.webkit.org/show_bug.cgi?id=72455
+
+ Reviewed by Daniel Bates.
+
+ * wtf/StackBounds.cpp:
+ (WTF::StackBounds::initialize):
+
2011-11-15 Michael Saboff <[email protected]>
Towards 8 bit Strings - Update utf8() and ascii() methods for 8 bit strings
Modified: trunk/Source/_javascript_Core/wtf/StackBounds.cpp (100405 => 100406)
--- trunk/Source/_javascript_Core/wtf/StackBounds.cpp 2011-11-16 06:06:21 UTC (rev 100405)
+++ trunk/Source/_javascript_Core/wtf/StackBounds.cpp 2011-11-16 06:21:01 UTC (rev 100406)
@@ -103,7 +103,7 @@
stackSize = threadInfo.stksize;
ASSERT(stackBase);
- m_bound = stackBase;
+ m_bound = static_cast<char*>(stackBase) + 0x1000; // 4kb guard page
m_origin = static_cast<char*>(stackBase) + stackSize;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes