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

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

Issue 1433923002: Maintain a FixedArray for the optimized code map. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 1 month 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 #include <map> 9 #include <map>
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 V(Cell, undefined_cell, UndefinedCell) \ 172 V(Cell, undefined_cell, UndefinedCell) \
173 V(JSObject, observation_state, ObservationState) \ 173 V(JSObject, observation_state, ObservationState) \
174 V(Object, symbol_registry, SymbolRegistry) \ 174 V(Object, symbol_registry, SymbolRegistry) \
175 V(Object, script_list, ScriptList) \ 175 V(Object, script_list, ScriptList) \
176 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 176 V(SeededNumberDictionary, empty_slow_element_dictionary, \
177 EmptySlowElementDictionary) \ 177 EmptySlowElementDictionary) \
178 V(FixedArray, materialized_objects, MaterializedObjects) \ 178 V(FixedArray, materialized_objects, MaterializedObjects) \
179 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 179 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
180 V(FixedArray, microtask_queue, MicrotaskQueue) \ 180 V(FixedArray, microtask_queue, MicrotaskQueue) \
181 V(TypeFeedbackVector, dummy_vector, DummyVector) \ 181 V(TypeFeedbackVector, dummy_vector, DummyVector) \
182 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \
182 V(FixedArray, detached_contexts, DetachedContexts) \ 183 V(FixedArray, detached_contexts, DetachedContexts) \
183 V(ArrayList, retained_maps, RetainedMaps) \ 184 V(ArrayList, retained_maps, RetainedMaps) \
184 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 185 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
185 V(PropertyCell, array_protector, ArrayProtector) \ 186 V(PropertyCell, array_protector, ArrayProtector) \
186 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 187 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
187 V(Object, weak_stack_trace_list, WeakStackTraceList) \ 188 V(Object, weak_stack_trace_list, WeakStackTraceList) \
188 V(Object, code_stub_context, CodeStubContext) \ 189 V(Object, code_stub_context, CodeStubContext) \
189 V(JSObject, code_stub_exports_object, CodeStubExportsObject) \ 190 V(JSObject, code_stub_exports_object, CodeStubExportsObject) \
190 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ 191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \
191 V(FixedArray, interpreter_table, InterpreterTable) \ 192 V(FixedArray, interpreter_table, InterpreterTable) \
(...skipping 2531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2723 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2724 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2724 2725
2725 private: 2726 private:
2726 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2727 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2727 }; 2728 };
2728 #endif // DEBUG 2729 #endif // DEBUG
2729 } // namespace internal 2730 } // namespace internal
2730 } // namespace v8 2731 } // namespace v8
2731 2732
2732 #endif // V8_HEAP_HEAP_H_ 2733 #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