Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2007-09-12 18:44:58 +0400
committerMiguel de Icaza <miguel@gnome.org>2007-09-12 18:44:58 +0400
commit8cdc270b1608d0e41fc82660d0a433b55dd0ccca (patch)
tree78f9a0f6c6cbc33abbf89d01810afdc54c144530 /docs/stack-overflow.txt
parentb03e34960c2f34fd69f63d039fc1e02ed8409358 (diff)
Add
svn path=/trunk/mono/; revision=85687
Diffstat (limited to 'docs/stack-overflow.txt')
-rw-r--r--docs/stack-overflow.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/stack-overflow.txt b/docs/stack-overflow.txt
new file mode 100644
index 00000000000..f451923cac0
--- /dev/null
+++ b/docs/stack-overflow.txt
@@ -0,0 +1,17 @@
+Stack Overflow Detection
+
+ Mono supports converting a stack overflow into a
+ StackOverflowException that the user can use to
+ pinpoint problems in his software.
+
+ The detection works by:
+
+ * Setting up a number of guard pages below a certain
+ point in the thread stack and unprotect them if we get a
+ segv there.
+
+ * If a segv is caught on those pages, control is
+ transfered to the standard exception handling code.
+
+ * During the unwinding, the stack pages are protected
+ again.