Reviewers: mvstanton,

Description:
Limit stack size when testing stack overflow in JSON.stringify.

[email protected]

Please review this at https://codereview.chromium.org/397073004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -0 lines):
  M test/mjsunit/json-stringify-recursive.js


Index: test/mjsunit/json-stringify-recursive.js
diff --git a/test/mjsunit/json-stringify-recursive.js b/test/mjsunit/json-stringify-recursive.js index 31aa0027c566b68b72f44ee602d3d16e414104df..d2788a5f0312eb8a2b7428ba3271aa58c6337a2c 100644
--- a/test/mjsunit/json-stringify-recursive.js
+++ b/test/mjsunit/json-stringify-recursive.js
@@ -25,6 +25,8 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+// Flags: --stack-size=100
+
 var a = {};
 for (i = 0; i < 10000; i++) {
   var current = {};


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to