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_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 "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 2489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2500 class GCTracer BASE_EMBEDDED { | 2500 class GCTracer BASE_EMBEDDED { |
2501 public: | 2501 public: |
2502 class Scope BASE_EMBEDDED { | 2502 class Scope BASE_EMBEDDED { |
2503 public: | 2503 public: |
2504 enum ScopeId { | 2504 enum ScopeId { |
2505 EXTERNAL, | 2505 EXTERNAL, |
2506 MC_MARK, | 2506 MC_MARK, |
2507 MC_SWEEP, | 2507 MC_SWEEP, |
2508 MC_SWEEP_NEWSPACE, | 2508 MC_SWEEP_NEWSPACE, |
2509 MC_SWEEP_OLDSPACE, | 2509 MC_SWEEP_OLDSPACE, |
| 2510 MC_SWEEP_CODE, |
| 2511 MC_SWEEP_CELL, |
| 2512 MC_SWEEP_MAP, |
2510 MC_EVACUATE_PAGES, | 2513 MC_EVACUATE_PAGES, |
2511 MC_UPDATE_NEW_TO_NEW_POINTERS, | 2514 MC_UPDATE_NEW_TO_NEW_POINTERS, |
2512 MC_UPDATE_ROOT_TO_NEW_POINTERS, | 2515 MC_UPDATE_ROOT_TO_NEW_POINTERS, |
2513 MC_UPDATE_OLD_TO_NEW_POINTERS, | 2516 MC_UPDATE_OLD_TO_NEW_POINTERS, |
2514 MC_UPDATE_POINTERS_TO_EVACUATED, | 2517 MC_UPDATE_POINTERS_TO_EVACUATED, |
2515 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, | 2518 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, |
2516 MC_UPDATE_MISC_POINTERS, | 2519 MC_UPDATE_MISC_POINTERS, |
2517 MC_WEAKCOLLECTION_PROCESS, | 2520 MC_WEAKCOLLECTION_PROCESS, |
2518 MC_WEAKCOLLECTION_CLEAR, | 2521 MC_WEAKCOLLECTION_CLEAR, |
2519 MC_FLUSH_CODE, | 2522 MC_FLUSH_CODE, |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2762 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2765 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2763 | 2766 |
2764 private: | 2767 private: |
2765 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2768 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2766 }; | 2769 }; |
2767 #endif // DEBUG | 2770 #endif // DEBUG |
2768 | 2771 |
2769 } } // namespace v8::internal | 2772 } } // namespace v8::internal |
2770 | 2773 |
2771 #endif // V8_HEAP_H_ | 2774 #endif // V8_HEAP_H_ |
OLD | NEW |