Limit old space size in test which require a large new space.
authorhpayer@chromium.org <hpayer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Apr 2014 18:57:25 +0000 (18:57 +0000)
committerhpayer@chromium.org <hpayer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Apr 2014 18:57:25 +0000 (18:57 +0000)
BUG=

Review URL: https://codereview.chromium.org/265673003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21103 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 files changed:
test/mjsunit/binary-op-newspace.js
test/mjsunit/compiler/math-floor-global.js
test/mjsunit/compiler/math-floor-local.js
test/mjsunit/define-property-gc.js
test/mjsunit/math-abs.js
test/mjsunit/math-floor-part1.js
test/mjsunit/math-floor-part2.js
test/mjsunit/math-floor-part3.js
test/mjsunit/math-floor-part4.js
test/mjsunit/regress/regress-1708.js
test/mjsunit/regress/regress-99167.js
test/mjsunit/regress/regress-create-exception.js

index e3341c4..9fb3623 100644 (file)
@@ -25,7 +25,7 @@
 // (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: --max-new-space-size=256 --noopt
+// Flags: --max-old-space-size=256 --max-new-space-size=256 --noopt
 
 // Check that a mod where the stub code hits a failure in heap number
 // allocation still works.
index 3b9d125..d8b85b9 100644 (file)
@@ -25,7 +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: --max-new-space-size=128 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=128
+// Flags: --allow-natives-syntax
 
 // Test inlining of Math.floor when assigned to a global.
 var flo = Math.floor;
index fef3347..69215df 100644 (file)
@@ -25,7 +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: --max-new-space-size=128 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=128
+// Flags: --allow-natives-syntax
 
 // Test inlining of Math.floor when assigned to a local.
 var test_id = 0;
index b38164d..47d2809 100644 (file)
@@ -26,7 +26,7 @@
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 // Tests the handling of GC issues in the defineProperty method.
-// Flags: --max-new-space-size=256
+// Flags: --max-old-space-size=256 --max-new-space-size=256
 
 function Regular() {
   this[0] = 0;
index d6ee3f2..b0647c1 100644 (file)
@@ -25,7 +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: --max-new-space-size=256 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=256
+// Flags: --allow-natives-syntax
 
 function zero() {
   var x = 0.5;
index a4fca7c..f467913 100644 (file)
@@ -25,7 +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: --max-new-space-size=128 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=128
+// Flags: --allow-natives-syntax
 
 var test_id = 0;
 
index d9bc410..5cc349a 100644 (file)
@@ -25,7 +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: --max-new-space-size=256 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=256
+// Flags: --allow-natives-syntax
 
 var test_id = 0;
 
index 0b0e687..65fbbd2 100644 (file)
@@ -25,7 +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: --max-new-space-size=256 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=256
+// Flags: --allow-natives-syntax
 
 var test_id = 0;
 
index 94adc45..b96c62e 100644 (file)
@@ -25,7 +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: --max-new-space-size=256 --allow-natives-syntax
+// Flags: --max-old-space-size=256 --max-new-space-size=256
+// Flags: --allow-natives-syntax
 
 var test_id = 0;
 
index 76f9768..8fabbc6 100644 (file)
@@ -32,7 +32,8 @@
 // sure that concurrent sweeping, which relies on similar assumptions
 // as lazy sweeping works correctly.
 
-// Flags: --expose-gc --noincremental-marking --max-new-space-size 1000
+// Flags: --expose-gc --noincremental-marking --max-new-space-size=1000
+// Flags: --max-old-space-size=256
 
 (function() {
   var head = new Array(1);
index 5053ae5..f29fcac 100644 (file)
@@ -25,7 +25,7 @@
 // (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: --expose-gc --max-new-space-size=1024
+// Flags: --expose-gc --max-old-space-size=256 --max-new-space-size=1024
 
 eval("function Node() { this.a = 1; this.a = 3; }");
 new Node;
index d3face9..7f674fa 100644 (file)
@@ -25,7 +25,7 @@
 // (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: --max-new-space-size=256
+// Flags: --max-old-space-size=256 --max-new-space-size=256
 "use strict";
 
 // Check for GC bug constructing exceptions.