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

Side by Side Diff: src/heap.h

Issue 268073004: FLAG_max_new_space_size is in MB. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « src/flag-definitions.h ('k') | src/heap.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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 DONT_INITIALIZE_ARRAY_ELEMENTS, 542 DONT_INITIALIZE_ARRAY_ELEMENTS,
543 INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE 543 INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE
544 }; 544 };
545 545
546 546
547 class Heap { 547 class Heap {
548 public: 548 public:
549 // Configure heap size before setup. Return false if the heap has been 549 // Configure heap size before setup. Return false if the heap has been
550 // set up already. 550 // set up already.
551 bool ConfigureHeap(int max_semispace_size, 551 bool ConfigureHeap(int max_semispace_size,
552 intptr_t max_old_gen_size, 552 intptr_t max_old_space_size,
553 intptr_t max_executable_size, 553 intptr_t max_executable_size,
554 intptr_t code_range_size); 554 intptr_t code_range_size);
555 bool ConfigureHeapDefault(); 555 bool ConfigureHeapDefault();
556 556
557 // Prepares the heap, setting up memory areas that are needed in the isolate 557 // Prepares the heap, setting up memory areas that are needed in the isolate
558 // without actually creating any objects. 558 // without actually creating any objects.
559 bool SetUp(); 559 bool SetUp();
560 560
561 // Bootstraps the object heap with the core set of objects required to run. 561 // Bootstraps the object heap with the core set of objects required to run.
562 // Returns whether it succeeded. 562 // Returns whether it succeeded.
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2807 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2807 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2808 2808
2809 private: 2809 private:
2810 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2810 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2811 }; 2811 };
2812 #endif // DEBUG 2812 #endif // DEBUG
2813 2813
2814 } } // namespace v8::internal 2814 } } // namespace v8::internal
2815 2815
2816 #endif // V8_HEAP_H_ 2816 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698