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

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

Issue 1114043002: Cache experimental natives sources as external strings. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: also delete experimental native sources at tear down Created 5 years, 7 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/debug.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 #include <map> 9 #include <map>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 V(HeapNumber, nan_value, NanValue) \ 166 V(HeapNumber, nan_value, NanValue) \
167 V(HeapNumber, infinity_value, InfinityValue) \ 167 V(HeapNumber, infinity_value, InfinityValue) \
168 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 168 V(HeapNumber, minus_zero_value, MinusZeroValue) \
169 V(JSObject, message_listeners, MessageListeners) \ 169 V(JSObject, message_listeners, MessageListeners) \
170 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 170 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
171 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ 171 V(UnseededNumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
172 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \ 172 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
173 V(Code, js_entry_code, JsEntryCode) \ 173 V(Code, js_entry_code, JsEntryCode) \
174 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 174 V(Code, js_construct_entry_code, JsConstructEntryCode) \
175 V(FixedArray, natives_source_cache, NativesSourceCache) \ 175 V(FixedArray, natives_source_cache, NativesSourceCache) \
176 V(FixedArray, experimental_natives_source_cache, \
177 ExperimentalNativesSourceCache) \
176 V(Script, empty_script, EmptyScript) \ 178 V(Script, empty_script, EmptyScript) \
177 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 179 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
178 V(Cell, undefined_cell, UndefinedCell) \ 180 V(Cell, undefined_cell, UndefinedCell) \
179 V(JSObject, observation_state, ObservationState) \ 181 V(JSObject, observation_state, ObservationState) \
180 V(Object, symbol_registry, SymbolRegistry) \ 182 V(Object, symbol_registry, SymbolRegistry) \
181 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 183 V(SeededNumberDictionary, empty_slow_element_dictionary, \
182 EmptySlowElementDictionary) \ 184 EmptySlowElementDictionary) \
183 V(FixedArray, materialized_objects, MaterializedObjects) \ 185 V(FixedArray, materialized_objects, MaterializedObjects) \
184 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 186 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
185 V(FixedArray, microtask_queue, MicrotaskQueue) \ 187 V(FixedArray, microtask_queue, MicrotaskQueue) \
(...skipping 2420 matching lines...) Expand 10 before | Expand all | Expand 10 after
2606 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2608 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2607 2609
2608 private: 2610 private:
2609 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2611 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2610 }; 2612 };
2611 #endif // DEBUG 2613 #endif // DEBUG
2612 } 2614 }
2613 } // namespace v8::internal 2615 } // namespace v8::internal
2614 2616
2615 #endif // V8_HEAP_HEAP_H_ 2617 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698