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

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

Issue 893073006: Add map-based read barrier to WeakCell Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge Created 5 years, 10 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/factory.cc ('k') | 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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 V(Map, meta_map, MetaMap) \ 45 V(Map, meta_map, MetaMap) \
46 V(Map, heap_number_map, HeapNumberMap) \ 46 V(Map, heap_number_map, HeapNumberMap) \
47 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ 47 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \
48 V(Map, native_context_map, NativeContextMap) \ 48 V(Map, native_context_map, NativeContextMap) \
49 V(Map, fixed_array_map, FixedArrayMap) \ 49 V(Map, fixed_array_map, FixedArrayMap) \
50 V(Map, code_map, CodeMap) \ 50 V(Map, code_map, CodeMap) \
51 V(Map, scope_info_map, ScopeInfoMap) \ 51 V(Map, scope_info_map, ScopeInfoMap) \
52 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 52 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
53 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ 53 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \
54 V(Map, constant_pool_array_map, ConstantPoolArrayMap) \ 54 V(Map, constant_pool_array_map, ConstantPoolArrayMap) \
55 V(Map, weak_cell_map, WeakCellMap) \ 55 V(Map, used_weak_cell_map, UsedWeakCellMap) \
56 V(Map, unused_weak_cell_map, UnusedWeakCellMap) \
56 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 57 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
57 V(Map, hash_table_map, HashTableMap) \ 58 V(Map, hash_table_map, HashTableMap) \
58 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ 59 V(Map, ordered_hash_table_map, OrderedHashTableMap) \
59 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 60 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
60 V(ByteArray, empty_byte_array, EmptyByteArray) \ 61 V(ByteArray, empty_byte_array, EmptyByteArray) \
61 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 62 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
62 V(ConstantPoolArray, empty_constant_pool_array, EmptyConstantPoolArray) \ 63 V(ConstantPoolArray, empty_constant_pool_array, EmptyConstantPoolArray) \
63 V(Oddball, arguments_marker, ArgumentsMarker) \ 64 V(Oddball, arguments_marker, ArgumentsMarker) \
64 /* The roots above this line should be boring from a GC point of view. */ \ 65 /* The roots above this line should be boring from a GC point of view. */ \
65 /* This means they are never in new space and never on a page that is */ \ 66 /* This means they are never in new space and never on a page that is */ \
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 V(MetaMap) \ 337 V(MetaMap) \
337 V(HeapNumberMap) \ 338 V(HeapNumberMap) \
338 V(MutableHeapNumberMap) \ 339 V(MutableHeapNumberMap) \
339 V(NativeContextMap) \ 340 V(NativeContextMap) \
340 V(FixedArrayMap) \ 341 V(FixedArrayMap) \
341 V(CodeMap) \ 342 V(CodeMap) \
342 V(ScopeInfoMap) \ 343 V(ScopeInfoMap) \
343 V(FixedCOWArrayMap) \ 344 V(FixedCOWArrayMap) \
344 V(FixedDoubleArrayMap) \ 345 V(FixedDoubleArrayMap) \
345 V(ConstantPoolArrayMap) \ 346 V(ConstantPoolArrayMap) \
346 V(WeakCellMap) \ 347 V(UsedWeakCellMap) \
348 V(UnusedWeakCellMap) \
347 V(NoInterceptorResultSentinel) \ 349 V(NoInterceptorResultSentinel) \
348 V(HashTableMap) \ 350 V(HashTableMap) \
349 V(OrderedHashTableMap) \ 351 V(OrderedHashTableMap) \
350 V(EmptyFixedArray) \ 352 V(EmptyFixedArray) \
351 V(EmptyByteArray) \ 353 V(EmptyByteArray) \
352 V(EmptyDescriptorArray) \ 354 V(EmptyDescriptorArray) \
353 V(EmptyConstantPoolArray) \ 355 V(EmptyConstantPoolArray) \
354 V(ArgumentsMarker) \ 356 V(ArgumentsMarker) \
355 V(SymbolMap) \ 357 V(SymbolMap) \
356 V(SloppyArgumentsElementsMap) \ 358 V(SloppyArgumentsElementsMap) \
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2587 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2586 2588
2587 private: 2589 private:
2588 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2590 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2589 }; 2591 };
2590 #endif // DEBUG 2592 #endif // DEBUG
2591 } 2593 }
2592 } // namespace v8::internal 2594 } // namespace v8::internal
2593 2595
2594 #endif // V8_HEAP_HEAP_H_ 2596 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698