Revision: 3749
Author: [email protected]
Date: Fri Jan 29 10:01:46 2010
Log: Fix stack overflow in cctest/test-api/Threadin2 after r3613.

r3613 started wrapping all builtins in extra call in debug mode so it
became easier to cause stack overflow especially in 64-bit build.

Review URL: http://codereview.chromium.org/546129
http://code.google.com/p/v8/source/detail?r=3749

Modified:
 /branches/bleeding_edge/test/cctest/test-api.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc     Mon Jan 25 14:53:18 2010
+++ /branches/bleeding_edge/test/cctest/test-api.cc     Fri Jan 29 10:01:46 2010
@@ -1151,7 +1151,7 @@


 v8::Handle<Script> call_recursively_script;
-static const int kTargetRecursionDepth = 300;  // near maximum
+static const int kTargetRecursionDepth = 200;  // near maximum


static v8::Handle<Value> CallScriptRecursivelyCall(const v8::Arguments& args) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to