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

Side by Side Diff: src/heap/mark-compact.cc

Issue 1356223004: Move heap and CPU profilers into a dedicated directory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 5 years, 2 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
« no previous file with comments | « src/heap/heap-inl.h ('k') | src/heap/scavenger.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/heap/mark-compact.h" 5 #include "src/heap/mark-compact.h"
6 6
7 #include "src/base/atomicops.h" 7 #include "src/base/atomicops.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/base/sys-info.h" 9 #include "src/base/sys-info.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
11 #include "src/compilation-cache.h" 11 #include "src/compilation-cache.h"
12 #include "src/cpu-profiler.h"
13 #include "src/deoptimizer.h" 12 #include "src/deoptimizer.h"
14 #include "src/execution.h" 13 #include "src/execution.h"
15 #include "src/frames-inl.h" 14 #include "src/frames-inl.h"
16 #include "src/gdb-jit.h" 15 #include "src/gdb-jit.h"
17 #include "src/global-handles.h" 16 #include "src/global-handles.h"
18 #include "src/heap/array-buffer-tracker.h" 17 #include "src/heap/array-buffer-tracker.h"
19 #include "src/heap/gc-tracer.h" 18 #include "src/heap/gc-tracer.h"
20 #include "src/heap/incremental-marking.h" 19 #include "src/heap/incremental-marking.h"
21 #include "src/heap/mark-compact-inl.h" 20 #include "src/heap/mark-compact-inl.h"
22 #include "src/heap/object-stats.h" 21 #include "src/heap/object-stats.h"
23 #include "src/heap/objects-visiting.h" 22 #include "src/heap/objects-visiting.h"
24 #include "src/heap/objects-visiting-inl.h" 23 #include "src/heap/objects-visiting-inl.h"
25 #include "src/heap/slots-buffer.h" 24 #include "src/heap/slots-buffer.h"
26 #include "src/heap/spaces-inl.h" 25 #include "src/heap/spaces-inl.h"
27 #include "src/heap-profiler.h"
28 #include "src/ic/ic.h" 26 #include "src/ic/ic.h"
29 #include "src/ic/stub-cache.h" 27 #include "src/ic/stub-cache.h"
28 #include "src/profiler/cpu-profiler.h"
30 #include "src/v8.h" 29 #include "src/v8.h"
31 30
32 namespace v8 { 31 namespace v8 {
33 namespace internal { 32 namespace internal {
34 33
35 34
36 const char* Marking::kWhiteBitPattern = "00"; 35 const char* Marking::kWhiteBitPattern = "00";
37 const char* Marking::kBlackBitPattern = "10"; 36 const char* Marking::kBlackBitPattern = "10";
38 const char* Marking::kGreyBitPattern = "11"; 37 const char* Marking::kGreyBitPattern = "11";
39 const char* Marking::kImpossibleBitPattern = "01"; 38 const char* Marking::kImpossibleBitPattern = "01";
(...skipping 4561 matching lines...) Expand 10 before | Expand all | Expand 10 after
4601 MarkBit mark_bit = Marking::MarkBitFrom(host); 4600 MarkBit mark_bit = Marking::MarkBitFrom(host);
4602 if (Marking::IsBlack(mark_bit)) { 4601 if (Marking::IsBlack(mark_bit)) {
4603 RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host); 4602 RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host);
4604 RecordRelocSlot(&rinfo, target); 4603 RecordRelocSlot(&rinfo, target);
4605 } 4604 }
4606 } 4605 }
4607 } 4606 }
4608 4607
4609 } // namespace internal 4608 } // namespace internal
4610 } // namespace v8 4609 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap-inl.h ('k') | src/heap/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698