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

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

Issue 1846963002: Use a dictionary-mode code cache on the map rather than a dual system. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/globals.h ('k') | src/heap/heap.cc » ('j') | src/heap/heap.cc » ('J')
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 V(Map, foreign_map, ForeignMap) \ 156 V(Map, foreign_map, ForeignMap) \
157 V(Map, neander_map, NeanderMap) \ 157 V(Map, neander_map, NeanderMap) \
158 V(Map, external_map, ExternalMap) \ 158 V(Map, external_map, ExternalMap) \
159 V(HeapNumber, nan_value, NanValue) \ 159 V(HeapNumber, nan_value, NanValue) \
160 V(HeapNumber, infinity_value, InfinityValue) \ 160 V(HeapNumber, infinity_value, InfinityValue) \
161 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 161 V(HeapNumber, minus_zero_value, MinusZeroValue) \
162 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ 162 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
163 V(JSObject, message_listeners, MessageListeners) \ 163 V(JSObject, message_listeners, MessageListeners) \
164 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 164 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
165 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ 165 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
166 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
167 V(Code, js_entry_code, JsEntryCode) \ 166 V(Code, js_entry_code, JsEntryCode) \
168 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 167 V(Code, js_construct_entry_code, JsConstructEntryCode) \
169 V(FixedArray, natives_source_cache, NativesSourceCache) \ 168 V(FixedArray, natives_source_cache, NativesSourceCache) \
170 V(FixedArray, experimental_natives_source_cache, \ 169 V(FixedArray, experimental_natives_source_cache, \
171 ExperimentalNativesSourceCache) \ 170 ExperimentalNativesSourceCache) \
172 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ 171 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \
173 V(FixedArray, experimental_extra_natives_source_cache, \ 172 V(FixedArray, experimental_extra_natives_source_cache, \
174 ExperimentalExtraNativesSourceCache) \ 173 ExperimentalExtraNativesSourceCache) \
175 V(Script, empty_script, EmptyScript) \ 174 V(Script, empty_script, EmptyScript) \
176 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 175 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
(...skipping 2479 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 friend class LargeObjectSpace; 2655 friend class LargeObjectSpace;
2657 friend class NewSpace; 2656 friend class NewSpace;
2658 friend class PagedSpace; 2657 friend class PagedSpace;
2659 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2658 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2660 }; 2659 };
2661 2660
2662 } // namespace internal 2661 } // namespace internal
2663 } // namespace v8 2662 } // namespace v8
2664 2663
2665 #endif // V8_HEAP_HEAP_H_ 2664 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/heap/heap.cc » ('j') | src/heap/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698