| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index b465ca47c485bb7223cd3f6713dc230258b000fe..bdc7fe11ef1ceda345d21057f0e21bdab2c3e6ca 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1363,6 +1363,10 @@ class Heap {
|
| return maximum_size_scavenges_ > 0;
|
| }
|
|
|
| + bool DeoptMaybeTenuredAllocationSites() {
|
| + return new_space_.IsAtMaximumCapacity() && maximum_size_scavenges_ == 0;
|
| + }
|
| +
|
| // ObjectStats are kept in two arrays, counts and sizes. Related stats are
|
| // stored in a contiguous linear buffer. Stats groups are stored one after
|
| // another.
|
|
|