Tests that overflows the stack should not be run with the sampling profiler.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Jun 2016 18:53:58 +0000 (18:53 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Jun 2016 18:53:58 +0000 (18:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=158663

Reviewed by Saam Barati.

The sampling profiler will be sampling the whole stack, and the amount of memory
churn will make this tests time out, especially with debug builds.  Hence,
let's not run the test with the sampling profiler configuration.

* tests/stress/mutual-tail-call-no-stack-overflow.js:
(shouldThrow):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@201974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/tests/stress/mutual-tail-call-no-stack-overflow.js

index 996c4182f2f72148cdcb36ff1e09c8172ed843b1..2969d0d14091bd59406a41b92fdedbf3c2302da1 100644 (file)
@@ -1,3 +1,17 @@
+2016-06-11  Mark Lam  <mark.lam@apple.com>
+
+        Tests that overflows the stack should not be run with the sampling profiler.
+        https://bugs.webkit.org/show_bug.cgi?id=158663
+
+        Reviewed by Saam Barati.
+
+        The sampling profiler will be sampling the whole stack, and the amount of memory
+        churn will make this tests time out, especially with debug builds.  Hence,
+        let's not run the test with the sampling profiler configuration.
+
+        * tests/stress/mutual-tail-call-no-stack-overflow.js:
+        (shouldThrow):
+
 2016-06-10  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         Unreviewed, attempt to fix r201964 failure on Apple ports
index 159c8cf39dff18cdaee53b6b3a3e38a41d52dbdd..ccafeb2f0c560d9a05cdba5057a84652b08c7aeb 100644 (file)
@@ -1,3 +1,5 @@
+//@ defaultNoSamplingProfilerRun
+
 function shouldThrow(func, errorMessage) {
     var errorThrown = false;
     var error = null;