Commit 3dd05f8f authored by hpayer@chromium.org's avatar hpayer@chromium.org

Limit old space size in test which require a large new space.

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
parent 25e79809
......@@ -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.
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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);
......
......@@ -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;
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment