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/heap.cc

Issue 333013002: Check alpha-sorting of includes during presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/gdb-jit.cc ('k') | src/hydrogen.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/base/once.h" 9 #include "src/base/once.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
11 #include "src/codegen.h" 11 #include "src/codegen.h"
12 #include "src/compilation-cache.h" 12 #include "src/compilation-cache.h"
13 #include "src/conversions.h" 13 #include "src/conversions.h"
14 #include "src/cpu-profiler.h" 14 #include "src/cpu-profiler.h"
15 #include "src/debug.h" 15 #include "src/debug.h"
16 #include "src/deoptimizer.h" 16 #include "src/deoptimizer.h"
17 #include "src/global-handles.h" 17 #include "src/global-handles.h"
18 #include "src/heap-profiler.h" 18 #include "src/heap-profiler.h"
19 #include "src/incremental-marking.h" 19 #include "src/incremental-marking.h"
20 #include "src/isolate-inl.h" 20 #include "src/isolate-inl.h"
21 #include "src/mark-compact.h" 21 #include "src/mark-compact.h"
22 #include "src/natives.h" 22 #include "src/natives.h"
23 #include "src/objects-visiting-inl.h"
23 #include "src/objects-visiting.h" 24 #include "src/objects-visiting.h"
24 #include "src/objects-visiting-inl.h"
25 #include "src/runtime-profiler.h" 25 #include "src/runtime-profiler.h"
26 #include "src/scopeinfo.h" 26 #include "src/scopeinfo.h"
27 #include "src/snapshot.h" 27 #include "src/snapshot.h"
28 #include "src/store-buffer.h" 28 #include "src/store-buffer.h"
29 #include "src/utils.h"
29 #include "src/utils/random-number-generator.h" 30 #include "src/utils/random-number-generator.h"
30 #include "src/utils.h"
31 #include "src/v8threads.h" 31 #include "src/v8threads.h"
32 #include "src/vm-state-inl.h" 32 #include "src/vm-state-inl.h"
33
33 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP 34 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP
34 #include "src/regexp-macro-assembler.h" 35 #include "src/regexp-macro-assembler.h" // NOLINT
35 #include "src/arm/regexp-macro-assembler-arm.h" 36 #include "src/arm/regexp-macro-assembler-arm.h" // NOLINT
36 #endif 37 #endif
37 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP 38 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP
38 #include "src/regexp-macro-assembler.h" 39 #include "src/regexp-macro-assembler.h" // NOLINT
39 #include "src/mips/regexp-macro-assembler-mips.h" 40 #include "src/mips/regexp-macro-assembler-mips.h" // NOLINT
40 #endif 41 #endif
41 42
42 namespace v8 { 43 namespace v8 {
43 namespace internal { 44 namespace internal {
44 45
45 46
46 Heap::Heap() 47 Heap::Heap()
47 : amount_of_external_allocated_memory_(0), 48 : amount_of_external_allocated_memory_(0),
48 amount_of_external_allocated_memory_at_last_global_gc_(0), 49 amount_of_external_allocated_memory_at_last_global_gc_(0),
49 isolate_(NULL), 50 isolate_(NULL),
(...skipping 6376 matching lines...) Expand 10 before | Expand all | Expand 10 after
6426 static_cast<int>(object_sizes_last_time_[index])); 6427 static_cast<int>(object_sizes_last_time_[index]));
6427 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) 6428 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT)
6428 #undef ADJUST_LAST_TIME_OBJECT_COUNT 6429 #undef ADJUST_LAST_TIME_OBJECT_COUNT
6429 6430
6430 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); 6431 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_));
6431 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); 6432 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_));
6432 ClearObjectStats(); 6433 ClearObjectStats();
6433 } 6434 }
6434 6435
6435 } } // namespace v8::internal 6436 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/gdb-jit.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698