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

Side by Side Diff: src/heap/incremental-marking.h

Issue 1380523002: [heap] Less aggressive inlining of IncrementalMarking code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/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 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_ 5 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_
6 #define V8_HEAP_INCREMENTAL_MARKING_H_ 6 #define V8_HEAP_INCREMENTAL_MARKING_H_
7 7
8 #include "src/cancelable-task.h" 8 #include "src/cancelable-task.h"
9 #include "src/execution.h" 9 #include "src/execution.h"
10 #include "src/heap/incremental-marking-job.h" 10 #include "src/heap/incremental-marking-job.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 Code* value)); 158 Code* value));
159 159
160 160
161 void RecordWriteSlow(HeapObject* obj, Object** slot, Object* value); 161 void RecordWriteSlow(HeapObject* obj, Object** slot, Object* value);
162 void RecordWriteIntoCodeSlow(HeapObject* obj, RelocInfo* rinfo, 162 void RecordWriteIntoCodeSlow(HeapObject* obj, RelocInfo* rinfo,
163 Object* value); 163 Object* value);
164 void RecordWriteOfCodeEntrySlow(JSFunction* host, Object** slot, Code* value); 164 void RecordWriteOfCodeEntrySlow(JSFunction* host, Object** slot, Code* value);
165 void RecordCodeTargetPatch(Code* host, Address pc, HeapObject* value); 165 void RecordCodeTargetPatch(Code* host, Address pc, HeapObject* value);
166 void RecordCodeTargetPatch(Address pc, HeapObject* value); 166 void RecordCodeTargetPatch(Address pc, HeapObject* value);
167 167
168 inline void RecordWrites(HeapObject* obj); 168 void RecordWrites(HeapObject* obj);
169 169
170 inline void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit); 170 void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit);
171 171
172 inline void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit); 172 void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
173 173
174 inline void SetOldSpacePageFlags(MemoryChunk* chunk) { 174 inline void SetOldSpacePageFlags(MemoryChunk* chunk) {
175 SetOldSpacePageFlags(chunk, IsMarking(), IsCompacting()); 175 SetOldSpacePageFlags(chunk, IsMarking(), IsCompacting());
176 } 176 }
177 177
178 inline void SetNewSpacePageFlags(MemoryChunk* chunk) { 178 inline void SetNewSpacePageFlags(MemoryChunk* chunk) {
179 SetNewSpacePageFlags(chunk, IsMarking()); 179 SetNewSpacePageFlags(chunk, IsMarking());
180 } 180 }
181 181
182 bool IsCompacting() { return IsMarking() && is_compacting_; } 182 bool IsCompacting() { return IsMarking() && is_compacting_; }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 GCRequestType request_type_; 264 GCRequestType request_type_;
265 265
266 IncrementalMarkingJob incremental_marking_job_; 266 IncrementalMarkingJob incremental_marking_job_;
267 267
268 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 268 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
269 }; 269 };
270 } 270 }
271 } // namespace v8::internal 271 } // namespace v8::internal
272 272
273 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 273 #endif // V8_HEAP_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « src/heap/heap-inl.h ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698