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

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

Issue 2807023003: [snapshot] encode resource before serializing. (Closed)
Patch Set: fix Created 3 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
« no previous file with comments | « src/bootstrapper.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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 171 V(HeapNumber, minus_zero_value, MinusZeroValue) \
172 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ 172 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
173 /* Caches */ \ 173 /* Caches */ \
174 V(FixedArray, number_string_cache, NumberStringCache) \ 174 V(FixedArray, number_string_cache, NumberStringCache) \
175 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ 175 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \
176 V(FixedArray, string_split_cache, StringSplitCache) \ 176 V(FixedArray, string_split_cache, StringSplitCache) \
177 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ 177 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \
178 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ 178 V(Object, instanceof_cache_function, InstanceofCacheFunction) \
179 V(Object, instanceof_cache_map, InstanceofCacheMap) \ 179 V(Object, instanceof_cache_map, InstanceofCacheMap) \
180 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ 180 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \
181 V(FixedArray, natives_source_cache, NativesSourceCache) \
182 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \
183 V(FixedArray, experimental_extra_natives_source_cache, \
184 ExperimentalExtraNativesSourceCache) \
185 /* Lists and dictionaries */ \ 181 /* Lists and dictionaries */ \
186 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ 182 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \
187 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ 183 V(NameDictionary, public_symbol_table, PublicSymbolTable) \
188 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ 184 V(NameDictionary, api_symbol_table, ApiSymbolTable) \
189 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ 185 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \
190 V(Object, script_list, ScriptList) \ 186 V(Object, script_list, ScriptList) \
191 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 187 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
192 V(FixedArray, materialized_objects, MaterializedObjects) \ 188 V(FixedArray, materialized_objects, MaterializedObjects) \
193 V(FixedArray, microtask_queue, MicrotaskQueue) \ 189 V(FixedArray, microtask_queue, MicrotaskQueue) \
194 V(FixedArray, detached_contexts, DetachedContexts) \ 190 V(FixedArray, detached_contexts, DetachedContexts) \
(...skipping 2432 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 friend class LargeObjectSpace; 2623 friend class LargeObjectSpace;
2628 friend class NewSpace; 2624 friend class NewSpace;
2629 friend class PagedSpace; 2625 friend class PagedSpace;
2630 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2626 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2631 }; 2627 };
2632 2628
2633 } // namespace internal 2629 } // namespace internal
2634 } // namespace v8 2630 } // namespace v8
2635 2631
2636 #endif // V8_HEAP_HEAP_H_ 2632 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698