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

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
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 V(Map, foreign_map, ForeignMap) \ 157 V(Map, foreign_map, ForeignMap) \
158 V(Map, neander_map, NeanderMap) \ 158 V(Map, neander_map, NeanderMap) \
159 V(Map, external_map, ExternalMap) \ 159 V(Map, external_map, ExternalMap) \
160 V(HeapNumber, nan_value, NanValue) \ 160 V(HeapNumber, nan_value, NanValue) \
161 V(HeapNumber, infinity_value, InfinityValue) \ 161 V(HeapNumber, infinity_value, InfinityValue) \
162 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 162 V(HeapNumber, minus_zero_value, MinusZeroValue) \
163 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ 163 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
164 V(JSObject, message_listeners, MessageListeners) \ 164 V(JSObject, message_listeners, MessageListeners) \
165 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 165 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
166 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ 166 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
167 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
168 V(Code, js_entry_code, JsEntryCode) \ 167 V(Code, js_entry_code, JsEntryCode) \
169 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 168 V(Code, js_construct_entry_code, JsConstructEntryCode) \
170 V(FixedArray, natives_source_cache, NativesSourceCache) \ 169 V(FixedArray, natives_source_cache, NativesSourceCache) \
171 V(FixedArray, experimental_natives_source_cache, \ 170 V(FixedArray, experimental_natives_source_cache, \
172 ExperimentalNativesSourceCache) \ 171 ExperimentalNativesSourceCache) \
173 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ 172 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \
174 V(FixedArray, experimental_extra_natives_source_cache, \ 173 V(FixedArray, experimental_extra_natives_source_cache, \
175 ExperimentalExtraNativesSourceCache) \ 174 ExperimentalExtraNativesSourceCache) \
176 V(Script, empty_script, EmptyScript) \ 175 V(Script, empty_script, EmptyScript) \
177 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 176 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
(...skipping 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 friend class LargeObjectSpace; 2650 friend class LargeObjectSpace;
2652 friend class NewSpace; 2651 friend class NewSpace;
2653 friend class PagedSpace; 2652 friend class PagedSpace;
2654 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2653 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2655 }; 2654 };
2656 2655
2657 } // namespace internal 2656 } // namespace internal
2658 } // namespace v8 2657 } // namespace v8
2659 2658
2660 #endif // V8_HEAP_HEAP_H_ 2659 #endif // V8_HEAP_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698