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 #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/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/base/once.h" | 10 #include "src/base/once.h" |
11 #include "src/base/utils/random-number-generator.h" | 11 #include "src/base/utils/random-number-generator.h" |
12 #include "src/bootstrapper.h" | 12 #include "src/bootstrapper.h" |
13 #include "src/codegen.h" | 13 #include "src/codegen.h" |
14 #include "src/compilation-cache.h" | 14 #include "src/compilation-cache.h" |
15 #include "src/conversions.h" | 15 #include "src/conversions.h" |
16 #include "src/cpu-profiler.h" | 16 #include "src/cpu-profiler.h" |
17 #include "src/debug.h" | 17 #include "src/debug.h" |
18 #include "src/deoptimizer.h" | 18 #include "src/deoptimizer.h" |
19 #include "src/global-handles.h" | 19 #include "src/global-handles.h" |
20 #include "src/heap/gc-idle-time-handler.h" | 20 #include "src/heap/gc-idle-time-handler.h" |
21 #include "src/heap/incremental-marking.h" | 21 #include "src/heap/incremental-marking.h" |
22 #include "src/heap/mark-compact.h" | 22 #include "src/heap/mark-compact.h" |
23 #include "src/heap/objects-visiting-inl.h" | 23 #include "src/heap/objects-visiting-inl.h" |
24 #include "src/heap/objects-visiting.h" | 24 #include "src/heap/objects-visiting.h" |
25 #include "src/heap/store-buffer.h" | 25 #include "src/heap/store-buffer.h" |
26 #include "src/heap-profiler.h" | 26 #include "src/heap-profiler.h" |
27 #include "src/isolate-inl.h" | |
28 #include "src/runtime-profiler.h" | 27 #include "src/runtime-profiler.h" |
29 #include "src/scopeinfo.h" | 28 #include "src/scopeinfo.h" |
30 #include "src/snapshot/natives.h" | 29 #include "src/snapshot/natives.h" |
31 #include "src/snapshot/serialize.h" | 30 #include "src/snapshot/serialize.h" |
32 #include "src/snapshot/snapshot.h" | 31 #include "src/snapshot/snapshot.h" |
33 #include "src/utils.h" | 32 #include "src/utils.h" |
34 #include "src/v8threads.h" | 33 #include "src/v8threads.h" |
35 #include "src/vm-state-inl.h" | 34 #include "src/vm-state-inl.h" |
36 | 35 |
37 #if V8_TARGET_ARCH_PPC && !V8_INTERPRETED_REGEXP | 36 #if V8_TARGET_ARCH_PPC && !V8_INTERPRETED_REGEXP |
(...skipping 6367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6405 static_cast<int>(object_sizes_last_time_[index])); | 6404 static_cast<int>(object_sizes_last_time_[index])); |
6406 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) | 6405 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) |
6407 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 6406 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
6408 | 6407 |
6409 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 6408 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
6410 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 6409 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
6411 ClearObjectStats(); | 6410 ClearObjectStats(); |
6412 } | 6411 } |
6413 } | 6412 } |
6414 } // namespace v8::internal | 6413 } // namespace v8::internal |
OLD | NEW |