projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b5650
)
Don't shrink new space based on allocation rate in predictable mode.
author
hpayer
<hpayer@chromium.org>
Tue, 26 May 2015 10:14:13 +0000
(
03:14
-0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 26 May 2015 10:14:24 +0000
(10:14 +0000)
BUG=
Review URL: https://codereview.chromium.org/
1155163003
Cr-Commit-Position: refs/heads/master@{#28618}
src/heap/heap.cc
patch
|
blob
|
history
diff --git
a/src/heap/heap.cc
b/src/heap/heap.cc
index
09f4cc7
..
7bf3c4b
100644
(file)
--- a/
src/heap/heap.cc
+++ b/
src/heap/heap.cc
@@
-4570,7
+4570,7
@@
bool Heap::HasLowAllocationRate(size_t allocation_rate) {
void Heap::ReduceNewSpaceSize(size_t allocation_rate) {
- if (HasLowAllocationRate(allocation_rate)) {
+ if (
!FLAG_predictable &&
HasLowAllocationRate(allocation_rate)) {
new_space_.Shrink();
UncommitFromSpace();
}