| OLD | NEW |
| 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 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 // more expedient to get at the isolate directly from within Heap methods. | 1491 // more expedient to get at the isolate directly from within Heap methods. |
| 1492 Isolate* isolate_; | 1492 Isolate* isolate_; |
| 1493 | 1493 |
| 1494 Object* roots_[kRootListLength]; | 1494 Object* roots_[kRootListLength]; |
| 1495 | 1495 |
| 1496 size_t code_range_size_; | 1496 size_t code_range_size_; |
| 1497 int reserved_semispace_size_; | 1497 int reserved_semispace_size_; |
| 1498 int max_semi_space_size_; | 1498 int max_semi_space_size_; |
| 1499 int initial_semispace_size_; | 1499 int initial_semispace_size_; |
| 1500 int target_semispace_size_; | 1500 int target_semispace_size_; |
| 1501 int scavenges_before_grow_; |
| 1501 intptr_t max_old_generation_size_; | 1502 intptr_t max_old_generation_size_; |
| 1502 intptr_t max_executable_size_; | 1503 intptr_t max_executable_size_; |
| 1503 intptr_t maximum_committed_; | 1504 intptr_t maximum_committed_; |
| 1504 | 1505 |
| 1505 // For keeping track of how much data has survived | 1506 // For keeping track of how much data has survived |
| 1506 // scavenge since last new space expansion. | 1507 // scavenge since last new space expansion. |
| 1507 int survived_since_last_expansion_; | 1508 int survived_since_last_expansion_; |
| 1508 | 1509 |
| 1509 // For keeping track on when to flush RegExp code. | 1510 // For keeping track on when to flush RegExp code. |
| 1510 int sweep_generation_; | 1511 int sweep_generation_; |
| (...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2572 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2573 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 2573 | 2574 |
| 2574 private: | 2575 private: |
| 2575 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2576 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2576 }; | 2577 }; |
| 2577 #endif // DEBUG | 2578 #endif // DEBUG |
| 2578 } | 2579 } |
| 2579 } // namespace v8::internal | 2580 } // namespace v8::internal |
| 2580 | 2581 |
| 2581 #endif // V8_HEAP_HEAP_H_ | 2582 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |