| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index b25aa7f612b645a8453f380025a258d5e927a88b..efda43d3669bd4ff8e7404ca658f93e2f22cf4d0 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1531,6 +1531,10 @@ class Heap {
|
| return new_space_high_promotion_mode_active_;
|
| }
|
|
|
| + inline Address* NewSpaceHighPromotionModeActiveAddress() {
|
| + return reinterpret_cast<Address*>(&new_space_high_promotion_mode_active_);
|
| + }
|
| +
|
| inline intptr_t PromotedTotalSize() {
|
| return PromotedSpaceSizeOfObjects() + PromotedExternalMemorySize();
|
| }
|
| @@ -1609,7 +1613,8 @@ class Heap {
|
| static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index);
|
|
|
| MUST_USE_RESULT MaybeObject* NumberToString(
|
| - Object* number, bool check_number_string_cache = true);
|
| + Object* number, bool check_number_string_cache = true,
|
| + PretenureFlag pretenure = NOT_TENURED);
|
| MUST_USE_RESULT MaybeObject* Uint32ToString(
|
| uint32_t value, bool check_number_string_cache = true);
|
|
|
| @@ -1976,7 +1981,7 @@ class Heap {
|
|
|
| // Indicates that the new space should be kept small due to high promotion
|
| // rates caused by the mutator allocating a lot of long-lived objects.
|
| - bool new_space_high_promotion_mode_active_;
|
| + intptr_t new_space_high_promotion_mode_active_;
|
|
|
| // Limit that triggers a global GC on the next (normally caused) GC. This
|
| // is checked when we have already decided to do a GC to help determine
|
|
|