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

Side by Side Diff: src/globals.h

Issue 2493803002: [heap] Add basic infrastructure for Minor Mark-Compact collector (Closed)
Patch Set: Addressed comment Created 4 years, 1 month 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 | « src/global-handles.cc ('k') | src/heap/gc-tracer.h » ('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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 } 570 }
571 UNREACHABLE(); 571 UNREACHABLE();
572 return os; 572 return os;
573 } 573 }
574 574
575 enum MinimumCapacity { 575 enum MinimumCapacity {
576 USE_DEFAULT_MINIMUM_CAPACITY, 576 USE_DEFAULT_MINIMUM_CAPACITY,
577 USE_CUSTOM_MINIMUM_CAPACITY 577 USE_CUSTOM_MINIMUM_CAPACITY
578 }; 578 };
579 579
580 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; 580 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR, MINOR_MARK_COMPACTOR };
581 581
582 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; 582 enum Executability { NOT_EXECUTABLE, EXECUTABLE };
583 583
584 enum VisitMode { 584 enum VisitMode {
585 VISIT_ALL, 585 VISIT_ALL,
586 VISIT_ALL_IN_SCAVENGE, 586 VISIT_ALL_IN_SCAVENGE,
587 VISIT_ALL_IN_SWEEP_NEWSPACE, 587 VISIT_ALL_IN_SWEEP_NEWSPACE,
588 VISIT_ONLY_STRONG, 588 VISIT_ONLY_STRONG,
589 VISIT_ONLY_STRONG_FOR_SERIALIZATION, 589 VISIT_ONLY_STRONG_FOR_SERIALIZATION,
590 VISIT_ONLY_STRONG_ROOT_LIST, 590 VISIT_ONLY_STRONG_ROOT_LIST,
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 UNREACHABLE(); 1278 UNREACHABLE();
1279 return os; 1279 return os;
1280 } 1280 }
1281 1281
1282 } // namespace internal 1282 } // namespace internal
1283 } // namespace v8 1283 } // namespace v8
1284 1284
1285 namespace i = v8::internal; 1285 namespace i = v8::internal;
1286 1286
1287 #endif // V8_GLOBALS_H_ 1287 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/global-handles.cc ('k') | src/heap/gc-tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698