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

Side by Side Diff: src/heap.h

Issue 416323003: Version 3.26.31.13 (merged r22667) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.26
Patch Set: Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/version.cc » ('j') | 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_H_ 5 #ifndef V8_HEAP_H_
6 #define V8_HEAP_H_ 6 #define V8_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "allocation.h" 10 #include "allocation.h"
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 static const int kMaxNewSpaceSizeHighMemoryDevice = 16 * kLumpOfMemory; 1080 static const int kMaxNewSpaceSizeHighMemoryDevice = 16 * kLumpOfMemory;
1081 static const int kMaxNewSpaceSizeHugeMemoryDevice = 16 * kLumpOfMemory; 1081 static const int kMaxNewSpaceSizeHugeMemoryDevice = 16 * kLumpOfMemory;
1082 1082
1083 // The old space size has to be a multiple of Page::kPageSize. 1083 // The old space size has to be a multiple of Page::kPageSize.
1084 static const int kMaxOldSpaceSizeLowMemoryDevice = 128 * kLumpOfMemory; 1084 static const int kMaxOldSpaceSizeLowMemoryDevice = 128 * kLumpOfMemory;
1085 static const int kMaxOldSpaceSizeMediumMemoryDevice = 256 * kLumpOfMemory; 1085 static const int kMaxOldSpaceSizeMediumMemoryDevice = 256 * kLumpOfMemory;
1086 static const int kMaxOldSpaceSizeHighMemoryDevice = 512 * kLumpOfMemory; 1086 static const int kMaxOldSpaceSizeHighMemoryDevice = 512 * kLumpOfMemory;
1087 static const int kMaxOldSpaceSizeHugeMemoryDevice = 700 * kLumpOfMemory; 1087 static const int kMaxOldSpaceSizeHugeMemoryDevice = 700 * kLumpOfMemory;
1088 1088
1089 // The executable size has to be a multiple of Page::kPageSize. 1089 // The executable size has to be a multiple of Page::kPageSize.
1090 static const int kMaxExecutableSizeLowMemoryDevice = 128 * kLumpOfMemory; 1090 static const int kMaxExecutableSizeLowMemoryDevice = 96 * kLumpOfMemory;
1091 static const int kMaxExecutableSizeMediumMemoryDevice = 256 * kLumpOfMemory; 1091 static const int kMaxExecutableSizeMediumMemoryDevice = 192 * kLumpOfMemory;
1092 static const int kMaxExecutableSizeHighMemoryDevice = 512 * kLumpOfMemory; 1092 static const int kMaxExecutableSizeHighMemoryDevice = 256 * kLumpOfMemory;
1093 static const int kMaxExecutableSizeHugeMemoryDevice = 700 * kLumpOfMemory; 1093 static const int kMaxExecutableSizeHugeMemoryDevice = 256 * kLumpOfMemory;
1094 1094
1095 intptr_t OldGenerationAllocationLimit(intptr_t old_gen_size, 1095 intptr_t OldGenerationAllocationLimit(intptr_t old_gen_size,
1096 int freed_global_handles); 1096 int freed_global_handles);
1097 1097
1098 // Indicates whether inline bump-pointer allocation has been disabled. 1098 // Indicates whether inline bump-pointer allocation has been disabled.
1099 bool inline_allocation_disabled() { return inline_allocation_disabled_; } 1099 bool inline_allocation_disabled() { return inline_allocation_disabled_; }
1100 1100
1101 // Switch whether inline bump-pointer allocation should be used. 1101 // Switch whether inline bump-pointer allocation should be used.
1102 void EnableInlineAllocation(); 1102 void EnableInlineAllocation();
1103 void DisableInlineAllocation(); 1103 void DisableInlineAllocation();
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2792 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2793 2793
2794 private: 2794 private:
2795 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2795 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2796 }; 2796 };
2797 #endif // DEBUG 2797 #endif // DEBUG
2798 2798
2799 } } // namespace v8::internal 2799 } } // namespace v8::internal
2800 2800
2801 #endif // V8_HEAP_H_ 2801 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698