| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 5be7861a6884c73db274e404dc965e10347f8f27..4071ef67214f277bbea6b5b26e7246f0d024067a 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -78,9 +78,9 @@ namespace internal {
|
| V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
|
| V(Smi, stack_limit, StackLimit) \
|
| V(Oddball, arguments_marker, ArgumentsMarker) \
|
| - /* The first 32 roots above this line should be boring from a GC point of */ \
|
| - /* view. This means they are never in new space and never on a page that */ \
|
| - /* is being compacted. */ \
|
| + /* The roots above this line should be boring from a GC point of view. */ \
|
| + /* This means they are never in new space and never on a page that is */ \
|
| + /* being compacted. */ \
|
| V(FixedArray, number_string_cache, NumberStringCache) \
|
| V(Object, instanceof_cache_function, InstanceofCacheFunction) \
|
| V(Object, instanceof_cache_map, InstanceofCacheMap) \
|
| @@ -523,7 +523,7 @@ class Heap {
|
| int InitialSemiSpaceSize() { return initial_semispace_size_; }
|
| intptr_t MaxOldGenerationSize() { return max_old_generation_size_; }
|
| intptr_t MaxExecutableSize() { return max_executable_size_; }
|
| - int MaxRegularSpaceAllocationSize() { return InitialSemiSpaceSize() * 3/4; }
|
| + int MaxRegularSpaceAllocationSize() { return InitialSemiSpaceSize() * 4/5; }
|
|
|
| // Returns the capacity of the heap in bytes w/o growing. Heap grows when
|
| // more spaces are needed until it reaches the limit.
|
| @@ -1871,7 +1871,7 @@ class Heap {
|
|
|
| void CheckpointObjectStats();
|
|
|
| - // We don't use a ScopedLock here since we want to lock the heap
|
| + // We don't use a LockGuard here since we want to lock the heap
|
| // only when FLAG_concurrent_recompilation is true.
|
| class RelocationLock {
|
| public:
|
|
|