Revision: 25298
Author:   [email protected]
Date:     Wed Nov 12 14:46:20 2014 UTC
Log:      Increase the target new space size to the max new space size

Assuming a page creates a low of objects that however will soon die
after page load, delaying the first scavange will hopefully decrease the
amount of time spent during page load without a later penalty when we
have to scavenge a large but mostly dead new space

BUG=v8:3626
[email protected]
LOG=y

Review URL: https://codereview.chromium.org/721573003
https://code.google.com/p/v8/source/detail?r=25298

Modified:
 /branches/bleeding_edge/src/heap/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap/heap.cc    Wed Nov 12 11:34:09 2014 UTC
+++ /branches/bleeding_edge/src/heap/heap.cc    Wed Nov 12 14:46:20 2014 UTC
@@ -5040,9 +5040,10 @@
     } else {
       target_semispace_size_ = target_semispace_size;
     }
+  } else {
+    target_semispace_size_ = max_semi_space_size_;
   }

- target_semispace_size_ = Max(initial_semispace_size_, target_semispace_size_);

// The old generation is paged and needs at least one page for each space.
   int paged_space_count = LAST_PAGED_SPACE - FIRST_PAGED_SPACE + 1;

--
--
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