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

Side by Side Diff: src/heap.h

Issue 117483002: Make cells pointing to JSObjects weak in optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Handle cells that are saved as embedded objects in reloc info. Created 6 years, 11 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
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 V(Code, js_construct_entry_code, JsConstructEntryCode) \ 178 V(Code, js_construct_entry_code, JsConstructEntryCode) \
179 V(FixedArray, natives_source_cache, NativesSourceCache) \ 179 V(FixedArray, natives_source_cache, NativesSourceCache) \
180 V(Smi, last_script_id, LastScriptId) \ 180 V(Smi, last_script_id, LastScriptId) \
181 V(Script, empty_script, EmptyScript) \ 181 V(Script, empty_script, EmptyScript) \
182 V(Smi, real_stack_limit, RealStackLimit) \ 182 V(Smi, real_stack_limit, RealStackLimit) \
183 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 183 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
184 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 184 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
185 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 185 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
186 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 186 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
187 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ 187 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \
188 V(Cell, undefined_cell, UndefineCell) \
188 V(JSObject, observation_state, ObservationState) \ 189 V(JSObject, observation_state, ObservationState) \
189 V(Map, external_map, ExternalMap) \ 190 V(Map, external_map, ExternalMap) \
190 V(Symbol, frozen_symbol, FrozenSymbol) \ 191 V(Symbol, frozen_symbol, FrozenSymbol) \
191 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ 192 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
192 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 193 V(SeededNumberDictionary, empty_slow_element_dictionary, \
193 EmptySlowElementDictionary) \ 194 EmptySlowElementDictionary) \
194 V(Symbol, observed_symbol, ObservedSymbol) 195 V(Symbol, observed_symbol, ObservedSymbol)
195 196
196 #define ROOT_LIST(V) \ 197 #define ROOT_LIST(V) \
197 STRONG_ROOT_LIST(V) \ 198 STRONG_ROOT_LIST(V) \
(...skipping 2819 matching lines...) Expand 10 before | Expand all | Expand 10 after
3017 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3018 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3018 3019
3019 private: 3020 private:
3020 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3021 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3021 }; 3022 };
3022 #endif // DEBUG 3023 #endif // DEBUG
3023 3024
3024 } } // namespace v8::internal 3025 } } // namespace v8::internal
3025 3026
3026 #endif // V8_HEAP_H_ 3027 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/heap.cc » ('j') | test/cctest/test-heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698