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

Side by Side Diff: src/heap.h

Issue 225183009: Use OrderedHashTables as the backing store of JSSet and JSMap (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Get rid of IsOrderedHashSet/Map methods Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/factory.cc ('k') | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 V(Map, heap_number_map, HeapNumberMap) \ 67 V(Map, heap_number_map, HeapNumberMap) \
68 V(Map, native_context_map, NativeContextMap) \ 68 V(Map, native_context_map, NativeContextMap) \
69 V(Map, fixed_array_map, FixedArrayMap) \ 69 V(Map, fixed_array_map, FixedArrayMap) \
70 V(Map, code_map, CodeMap) \ 70 V(Map, code_map, CodeMap) \
71 V(Map, scope_info_map, ScopeInfoMap) \ 71 V(Map, scope_info_map, ScopeInfoMap) \
72 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 72 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
73 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ 73 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \
74 V(Map, constant_pool_array_map, ConstantPoolArrayMap) \ 74 V(Map, constant_pool_array_map, ConstantPoolArrayMap) \
75 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 75 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
76 V(Map, hash_table_map, HashTableMap) \ 76 V(Map, hash_table_map, HashTableMap) \
77 V(Map, ordered_hash_table_map, OrderedHashTableMap) \
77 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 78 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
78 V(ByteArray, empty_byte_array, EmptyByteArray) \ 79 V(ByteArray, empty_byte_array, EmptyByteArray) \
79 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 80 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
80 V(ConstantPoolArray, empty_constant_pool_array, EmptyConstantPoolArray) \ 81 V(ConstantPoolArray, empty_constant_pool_array, EmptyConstantPoolArray) \
81 V(Oddball, arguments_marker, ArgumentsMarker) \ 82 V(Oddball, arguments_marker, ArgumentsMarker) \
82 /* The roots above this line should be boring from a GC point of view. */ \ 83 /* The roots above this line should be boring from a GC point of view. */ \
83 /* This means they are never in new space and never on a page that is */ \ 84 /* This means they are never in new space and never on a page that is */ \
84 /* being compacted. */ \ 85 /* being compacted. */ \
85 V(FixedArray, number_string_cache, NumberStringCache) \ 86 V(FixedArray, number_string_cache, NumberStringCache) \
86 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ 87 V(Object, instanceof_cache_function, InstanceofCacheFunction) \
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 V(heap_number_map) \ 247 V(heap_number_map) \
247 V(native_context_map) \ 248 V(native_context_map) \
248 V(fixed_array_map) \ 249 V(fixed_array_map) \
249 V(code_map) \ 250 V(code_map) \
250 V(scope_info_map) \ 251 V(scope_info_map) \
251 V(fixed_cow_array_map) \ 252 V(fixed_cow_array_map) \
252 V(fixed_double_array_map) \ 253 V(fixed_double_array_map) \
253 V(constant_pool_array_map) \ 254 V(constant_pool_array_map) \
254 V(no_interceptor_result_sentinel) \ 255 V(no_interceptor_result_sentinel) \
255 V(hash_table_map) \ 256 V(hash_table_map) \
257 V(ordered_hash_table_map) \
256 V(empty_fixed_array) \ 258 V(empty_fixed_array) \
257 V(empty_byte_array) \ 259 V(empty_byte_array) \
258 V(empty_descriptor_array) \ 260 V(empty_descriptor_array) \
259 V(empty_constant_pool_array) \ 261 V(empty_constant_pool_array) \
260 V(arguments_marker) \ 262 V(arguments_marker) \
261 V(symbol_map) \ 263 V(symbol_map) \
262 V(sloppy_arguments_elements_map) \ 264 V(sloppy_arguments_elements_map) \
263 V(function_context_map) \ 265 V(function_context_map) \
264 V(catch_context_map) \ 266 V(catch_context_map) \
265 V(with_context_map) \ 267 V(with_context_map) \
(...skipping 2872 matching lines...) Expand 10 before | Expand all | Expand 10 after
3138 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3140 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3139 3141
3140 private: 3142 private:
3141 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3143 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3142 }; 3144 };
3143 #endif // DEBUG 3145 #endif // DEBUG
3144 3146
3145 } } // namespace v8::internal 3147 } } // namespace v8::internal
3146 3148
3147 #endif // V8_HEAP_H_ 3149 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698