Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: test/mjsunit/regress/regress-678917.js

Issue 2917063002: Revert of [heap] Decrease old space physical memory factor. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/mjsunit/regress/regress-336820.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --max-old-space-size=270
6
7 s1 = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; 5 s1 = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
8 s1 += s1; 6 s1 += s1;
9 s1 += s1; 7 s1 += s1;
10 s1 += s1; 8 s1 += s1;
11 s1 += s1; 9 s1 += s1;
12 10
13 s0 = 'a'; 11 s0 = 'a';
14 12
15 function g() { 13 function g() {
16 for (var j = 0; j < 1000000; j++) { 14 for (var j = 0; j < 1000000; j++) {
17 s0 += s1; 15 s0 += s1;
18 } 16 }
19 } 17 }
20 18
21 try { 19 try {
22 g(); 20 g();
23 } catch (e) { 21 } catch (e) {
24 } 22 }
25 23
26 assertEquals('x', s0[10]); 24 assertEquals('x', s0[10]);
OLDNEW
« no previous file with comments | « test/mjsunit/regress/regress-336820.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698