Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Side by Side Diff: src/heap/heap.h

Issue 2514313004: [heap] Bump up old generation limit for huge memory devices. (Closed)
Patch Set: 1024 Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 static const int kMaxSemiSpaceSizeMediumMemoryDevice = 4 * kPointerMultiplier; 596 static const int kMaxSemiSpaceSizeMediumMemoryDevice = 4 * kPointerMultiplier;
597 static const int kMaxSemiSpaceSizeHighMemoryDevice = 8 * kPointerMultiplier; 597 static const int kMaxSemiSpaceSizeHighMemoryDevice = 8 * kPointerMultiplier;
598 static const int kMaxSemiSpaceSizeHugeMemoryDevice = 8 * kPointerMultiplier; 598 static const int kMaxSemiSpaceSizeHugeMemoryDevice = 8 * kPointerMultiplier;
599 599
600 // The old space size has to be a multiple of Page::kPageSize. 600 // The old space size has to be a multiple of Page::kPageSize.
601 // Sizes are in MB. 601 // Sizes are in MB.
602 static const int kMaxOldSpaceSizeLowMemoryDevice = 128 * kPointerMultiplier; 602 static const int kMaxOldSpaceSizeLowMemoryDevice = 128 * kPointerMultiplier;
603 static const int kMaxOldSpaceSizeMediumMemoryDevice = 603 static const int kMaxOldSpaceSizeMediumMemoryDevice =
604 256 * kPointerMultiplier; 604 256 * kPointerMultiplier;
605 static const int kMaxOldSpaceSizeHighMemoryDevice = 512 * kPointerMultiplier; 605 static const int kMaxOldSpaceSizeHighMemoryDevice = 512 * kPointerMultiplier;
606 static const int kMaxOldSpaceSizeHugeMemoryDevice = 700 * kPointerMultiplier; 606 static const int kMaxOldSpaceSizeHugeMemoryDevice = 1024 * kPointerMultiplier;
607 607
608 // The executable size has to be a multiple of Page::kPageSize. 608 // The executable size has to be a multiple of Page::kPageSize.
609 // Sizes are in MB. 609 // Sizes are in MB.
610 static const int kMaxExecutableSizeLowMemoryDevice = 96 * kPointerMultiplier; 610 static const int kMaxExecutableSizeLowMemoryDevice = 96 * kPointerMultiplier;
611 static const int kMaxExecutableSizeMediumMemoryDevice = 611 static const int kMaxExecutableSizeMediumMemoryDevice =
612 192 * kPointerMultiplier; 612 192 * kPointerMultiplier;
613 static const int kMaxExecutableSizeHighMemoryDevice = 613 static const int kMaxExecutableSizeHighMemoryDevice =
614 256 * kPointerMultiplier; 614 256 * kPointerMultiplier;
615 static const int kMaxExecutableSizeHugeMemoryDevice = 615 static const int kMaxExecutableSizeHugeMemoryDevice =
616 256 * kPointerMultiplier; 616 256 * kPointerMultiplier;
(...skipping 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after
2639 friend class LargeObjectSpace; 2639 friend class LargeObjectSpace;
2640 friend class NewSpace; 2640 friend class NewSpace;
2641 friend class PagedSpace; 2641 friend class PagedSpace;
2642 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2642 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2643 }; 2643 };
2644 2644
2645 } // namespace internal 2645 } // namespace internal
2646 } // namespace v8 2646 } // namespace v8
2647 2647
2648 #endif // V8_HEAP_HEAP_H_ 2648 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698