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

Side by Side Diff: src/heap.h

Issue 184453003: Allow objects with "" properties to stay fast. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « include/v8.h ('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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \ 184 V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
185 V(Code, js_entry_code, JsEntryCode) \ 185 V(Code, js_entry_code, JsEntryCode) \
186 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 186 V(Code, js_construct_entry_code, JsConstructEntryCode) \
187 V(FixedArray, natives_source_cache, NativesSourceCache) \ 187 V(FixedArray, natives_source_cache, NativesSourceCache) \
188 V(Script, empty_script, EmptyScript) \ 188 V(Script, empty_script, EmptyScript) \
189 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 189 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
190 V(Cell, undefined_cell, UndefineCell) \ 190 V(Cell, undefined_cell, UndefineCell) \
191 V(JSObject, observation_state, ObservationState) \ 191 V(JSObject, observation_state, ObservationState) \
192 V(Map, external_map, ExternalMap) \ 192 V(Map, external_map, ExternalMap) \
193 V(Symbol, frozen_symbol, FrozenSymbol) \ 193 V(Symbol, frozen_symbol, FrozenSymbol) \
194 V(Symbol, nonexistent_symbol, NonExistentSymbol) \
194 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ 195 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
195 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 196 V(SeededNumberDictionary, empty_slow_element_dictionary, \
196 EmptySlowElementDictionary) \ 197 EmptySlowElementDictionary) \
197 V(Symbol, observed_symbol, ObservedSymbol) \ 198 V(Symbol, observed_symbol, ObservedSymbol) \
198 V(FixedArray, materialized_objects, MaterializedObjects) \ 199 V(FixedArray, materialized_objects, MaterializedObjects) \
199 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 200 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
200 V(JSObject, microtask_state, MicrotaskState) 201 V(JSObject, microtask_state, MicrotaskState)
201 202
202 // Entries in this list are limited to Smis and are not visited during GC. 203 // Entries in this list are limited to Smis and are not visited during GC.
203 #define SMI_ROOT_LIST(V) \ 204 #define SMI_ROOT_LIST(V) \
(...skipping 2910 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3115 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3115 3116
3116 private: 3117 private:
3117 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3118 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3118 }; 3119 };
3119 #endif // DEBUG 3120 #endif // DEBUG
3120 3121
3121 } } // namespace v8::internal 3122 } } // namespace v8::internal
3122 3123
3123 #endif // V8_HEAP_H_ 3124 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698