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

Side by Side Diff: src/globals.h

Issue 391413006: Track history of events in GCTracer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reset longest step in Stop() + remove obsolete code. Created 6 years, 5 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/heap.h » ('j') | src/heap.h » ('J')
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 "include/v8stdint.h" 8 #include "include/v8stdint.h"
9 9
10 #include "src/base/build_config.h" 10 #include "src/base/build_config.h"
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 // allocated (allocated directly into the old generation) or not 351 // allocated (allocated directly into the old generation) or not
352 // (allocated in the young generation if the object size and type 352 // (allocated in the young generation if the object size and type
353 // allows). 353 // allows).
354 enum PretenureFlag { NOT_TENURED, TENURED }; 354 enum PretenureFlag { NOT_TENURED, TENURED };
355 355
356 enum MinimumCapacity { 356 enum MinimumCapacity {
357 USE_DEFAULT_MINIMUM_CAPACITY, 357 USE_DEFAULT_MINIMUM_CAPACITY,
358 USE_CUSTOM_MINIMUM_CAPACITY 358 USE_CUSTOM_MINIMUM_CAPACITY
359 }; 359 };
360 360
361 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; 361 enum GarbageCollector { SCAVENGER = 0, MARK_COMPACTOR = 1};
Hannes Payer (out of office) 2014/07/22 09:10:17 Why do you have to initialize it with =0, and =1?
ernstm 2014/07/22 14:09:28 Not needed any more, with the introduction of Even
362 362
363 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; 363 enum Executability { NOT_EXECUTABLE, EXECUTABLE };
364 364
365 enum VisitMode { 365 enum VisitMode {
366 VISIT_ALL, 366 VISIT_ALL,
367 VISIT_ALL_IN_SCAVENGE, 367 VISIT_ALL_IN_SCAVENGE,
368 VISIT_ALL_IN_SWEEP_NEWSPACE, 368 VISIT_ALL_IN_SWEEP_NEWSPACE,
369 VISIT_ONLY_STRONG 369 VISIT_ONLY_STRONG
370 }; 370 };
371 371
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 enum MinusZeroMode { 725 enum MinusZeroMode {
726 TREAT_MINUS_ZERO_AS_ZERO, 726 TREAT_MINUS_ZERO_AS_ZERO,
727 FAIL_ON_MINUS_ZERO 727 FAIL_ON_MINUS_ZERO
728 }; 728 };
729 729
730 } } // namespace v8::internal 730 } } // namespace v8::internal
731 731
732 namespace i = v8::internal; 732 namespace i = v8::internal;
733 733
734 #endif // V8_GLOBALS_H_ 734 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.h » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698