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

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

Issue 2539503002: [heap] Assert that there's no recodred slot corresponding to unboxed double field. (Closed)
Patch Set: Created 4 years 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 | « no previous file | src/heap/heap.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_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 void RecordWriteIntoCodeSlow(Code* host, RelocInfo* rinfo, Object* target); 1165 void RecordWriteIntoCodeSlow(Code* host, RelocInfo* rinfo, Object* target);
1166 void RecordWritesIntoCode(Code* code); 1166 void RecordWritesIntoCode(Code* code);
1167 inline void RecordFixedArrayElements(FixedArray* array, int offset, 1167 inline void RecordFixedArrayElements(FixedArray* array, int offset,
1168 int length); 1168 int length);
1169 1169
1170 inline Address* store_buffer_top_address(); 1170 inline Address* store_buffer_top_address();
1171 1171
1172 void ClearRecordedSlot(HeapObject* object, Object** slot); 1172 void ClearRecordedSlot(HeapObject* object, Object** slot);
1173 void ClearRecordedSlotRange(Address start, Address end); 1173 void ClearRecordedSlotRange(Address start, Address end);
1174 1174
1175 bool HasRecordedSlot(HeapObject* object, Object** slot);
1176
1175 // =========================================================================== 1177 // ===========================================================================
1176 // Incremental marking API. ================================================== 1178 // Incremental marking API. ==================================================
1177 // =========================================================================== 1179 // ===========================================================================
1178 1180
1179 // Start incremental marking and ensure that idle time handler can perform 1181 // Start incremental marking and ensure that idle time handler can perform
1180 // incremental steps. 1182 // incremental steps.
1181 void StartIdleIncrementalMarking(GarbageCollectionReason gc_reason); 1183 void StartIdleIncrementalMarking(GarbageCollectionReason gc_reason);
1182 1184
1183 // Starts incremental marking assuming incremental marking is currently 1185 // Starts incremental marking assuming incremental marking is currently
1184 // stopped. 1186 // stopped.
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 friend class LargeObjectSpace; 2645 friend class LargeObjectSpace;
2644 friend class NewSpace; 2646 friend class NewSpace;
2645 friend class PagedSpace; 2647 friend class PagedSpace;
2646 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2648 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2647 }; 2649 };
2648 2650
2649 } // namespace internal 2651 } // namespace internal
2650 } // namespace v8 2652 } // namespace v8
2651 2653
2652 #endif // V8_HEAP_HEAP_H_ 2654 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698