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

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

Issue 1297273005: Keep track of script objects in a weak fixed array. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: do not remove gc. Created 5 years, 4 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 #include <map> 9 #include <map>
10 10
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 V(FixedArray, natives_source_cache, NativesSourceCache) \ 161 V(FixedArray, natives_source_cache, NativesSourceCache) \
162 V(FixedArray, experimental_natives_source_cache, \ 162 V(FixedArray, experimental_natives_source_cache, \
163 ExperimentalNativesSourceCache) \ 163 ExperimentalNativesSourceCache) \
164 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ 164 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \
165 V(FixedArray, code_stub_natives_source_cache, CodeStubNativesSourceCache) \ 165 V(FixedArray, code_stub_natives_source_cache, CodeStubNativesSourceCache) \
166 V(Script, empty_script, EmptyScript) \ 166 V(Script, empty_script, EmptyScript) \
167 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 167 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
168 V(Cell, undefined_cell, UndefinedCell) \ 168 V(Cell, undefined_cell, UndefinedCell) \
169 V(JSObject, observation_state, ObservationState) \ 169 V(JSObject, observation_state, ObservationState) \
170 V(Object, symbol_registry, SymbolRegistry) \ 170 V(Object, symbol_registry, SymbolRegistry) \
171 V(Object, script_list, ScriptList) \
171 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 172 V(SeededNumberDictionary, empty_slow_element_dictionary, \
172 EmptySlowElementDictionary) \ 173 EmptySlowElementDictionary) \
173 V(FixedArray, materialized_objects, MaterializedObjects) \ 174 V(FixedArray, materialized_objects, MaterializedObjects) \
174 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 175 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
175 V(FixedArray, microtask_queue, MicrotaskQueue) \ 176 V(FixedArray, microtask_queue, MicrotaskQueue) \
176 V(FixedArray, dummy_vector, DummyVector) \ 177 V(FixedArray, dummy_vector, DummyVector) \
177 V(FixedArray, detached_contexts, DetachedContexts) \ 178 V(FixedArray, detached_contexts, DetachedContexts) \
178 V(ArrayList, retained_maps, RetainedMaps) \ 179 V(ArrayList, retained_maps, RetainedMaps) \
179 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 180 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
180 V(PropertyCell, array_protector, ArrayProtector) \ 181 V(PropertyCell, array_protector, ArrayProtector) \
(...skipping 2528 matching lines...) Expand 10 before | Expand all | Expand 10 after
2709 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2710 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2710 2711
2711 private: 2712 private:
2712 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2713 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2713 }; 2714 };
2714 #endif // DEBUG 2715 #endif // DEBUG
2715 } 2716 }
2716 } // namespace v8::internal 2717 } // namespace v8::internal
2717 2718
2718 #endif // V8_HEAP_HEAP_H_ 2719 #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