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

Side by Side Diff: src/heap/heap.cc

Issue 443933002: Move objects-visiting into heap. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/heap/heap.h ('k') | src/heap/incremental-marking.cc » ('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/base/utils/random-number-generator.h" 10 #include "src/base/utils/random-number-generator.h"
11 #include "src/bootstrapper.h" 11 #include "src/bootstrapper.h"
12 #include "src/codegen.h" 12 #include "src/codegen.h"
13 #include "src/compilation-cache.h" 13 #include "src/compilation-cache.h"
14 #include "src/conversions.h" 14 #include "src/conversions.h"
15 #include "src/cpu-profiler.h" 15 #include "src/cpu-profiler.h"
16 #include "src/debug.h" 16 #include "src/debug.h"
17 #include "src/deoptimizer.h" 17 #include "src/deoptimizer.h"
18 #include "src/global-handles.h" 18 #include "src/global-handles.h"
19 #include "src/heap/incremental-marking.h" 19 #include "src/heap/incremental-marking.h"
20 #include "src/heap/mark-compact.h" 20 #include "src/heap/mark-compact.h"
21 #include "src/heap/objects-visiting-inl.h"
22 #include "src/heap/objects-visiting.h"
21 #include "src/heap-profiler.h" 23 #include "src/heap-profiler.h"
22 #include "src/isolate-inl.h" 24 #include "src/isolate-inl.h"
23 #include "src/natives.h" 25 #include "src/natives.h"
24 #include "src/objects-visiting-inl.h"
25 #include "src/objects-visiting.h"
26 #include "src/runtime-profiler.h" 26 #include "src/runtime-profiler.h"
27 #include "src/scopeinfo.h" 27 #include "src/scopeinfo.h"
28 #include "src/snapshot.h" 28 #include "src/snapshot.h"
29 #include "src/store-buffer.h" 29 #include "src/store-buffer.h"
30 #include "src/utils.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
34 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP 34 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP
35 #include "src/regexp-macro-assembler.h" // NOLINT 35 #include "src/regexp-macro-assembler.h" // NOLINT
(...skipping 6107 matching lines...) Expand 10 before | Expand all | Expand 10 after
6143 static_cast<int>(object_sizes_last_time_[index])); 6143 static_cast<int>(object_sizes_last_time_[index]));
6144 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) 6144 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT)
6145 #undef ADJUST_LAST_TIME_OBJECT_COUNT 6145 #undef ADJUST_LAST_TIME_OBJECT_COUNT
6146 6146
6147 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); 6147 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_));
6148 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); 6148 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_));
6149 ClearObjectStats(); 6149 ClearObjectStats();
6150 } 6150 }
6151 } 6151 }
6152 } // namespace v8::internal 6152 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698