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

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

Issue 2551763003: v8::Private::ForApi should be context-independent. (Closed)
Patch Set: fix Created 4 years 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/heap-symbols.h ('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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 V(Object, instanceof_cache_map, InstanceofCacheMap) \ 185 V(Object, instanceof_cache_map, InstanceofCacheMap) \
186 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ 186 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \
187 V(FixedArray, natives_source_cache, NativesSourceCache) \ 187 V(FixedArray, natives_source_cache, NativesSourceCache) \
188 V(FixedArray, experimental_natives_source_cache, \ 188 V(FixedArray, experimental_natives_source_cache, \
189 ExperimentalNativesSourceCache) \ 189 ExperimentalNativesSourceCache) \
190 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ 190 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \
191 V(FixedArray, experimental_extra_natives_source_cache, \ 191 V(FixedArray, experimental_extra_natives_source_cache, \
192 ExperimentalExtraNativesSourceCache) \ 192 ExperimentalExtraNativesSourceCache) \
193 /* Lists and dictionaries */ \ 193 /* Lists and dictionaries */ \
194 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ 194 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \
195 V(Object, symbol_registry, SymbolRegistry) \ 195 V(NameDictionary, public_symbol_table, PublicSymbolTable) \
196 V(NameDictionary, api_symbol_table, ApiSymbolTable) \
197 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \
196 V(Object, script_list, ScriptList) \ 198 V(Object, script_list, ScriptList) \
197 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 199 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
198 V(FixedArray, materialized_objects, MaterializedObjects) \ 200 V(FixedArray, materialized_objects, MaterializedObjects) \
199 V(FixedArray, microtask_queue, MicrotaskQueue) \ 201 V(FixedArray, microtask_queue, MicrotaskQueue) \
200 V(FixedArray, detached_contexts, DetachedContexts) \ 202 V(FixedArray, detached_contexts, DetachedContexts) \
201 V(ArrayList, retained_maps, RetainedMaps) \ 203 V(ArrayList, retained_maps, RetainedMaps) \
202 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 204 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
203 /* weak_new_space_object_to_code_list is an array of weak cells, where */ \ 205 /* weak_new_space_object_to_code_list is an array of weak cells, where */ \
204 /* slots with even indices refer to the weak object, and the subsequent */ \ 206 /* slots with even indices refer to the weak object, and the subsequent */ \
205 /* slots refer to the code with the reference to the weak object. */ \ 207 /* slots refer to the code with the reference to the weak object. */ \
(...skipping 2439 matching lines...) Expand 10 before | Expand all | Expand 10 after
2645 friend class LargeObjectSpace; 2647 friend class LargeObjectSpace;
2646 friend class NewSpace; 2648 friend class NewSpace;
2647 friend class PagedSpace; 2649 friend class PagedSpace;
2648 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2650 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2649 }; 2651 };
2650 2652
2651 } // namespace internal 2653 } // namespace internal
2652 } // namespace v8 2654 } // namespace v8
2653 2655
2654 #endif // V8_HEAP_HEAP_H_ 2656 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/heap-symbols.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698