Reviewers: Hannes Payer,

Description:
Revert "Increase the target new space size to the max new space size"

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

Please review this at https://codereview.chromium.org/724543003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -2 lines):
  M src/heap/heap.cc


Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 2d09bea7bd6b6c386ad5b2dcf6ede2525e1518c1..f4489139a0965da28aaf14733e8d68458d1b6627 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5040,10 +5040,9 @@ bool Heap::ConfigureHeap(int max_semi_space_size, int max_old_space_size,
     } 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