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

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

Issue 898663005: Add a flag to track detached contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/flag-definitions.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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 176 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
177 V(Cell, undefined_cell, UndefineCell) \ 177 V(Cell, undefined_cell, UndefineCell) \
178 V(JSObject, observation_state, ObservationState) \ 178 V(JSObject, observation_state, ObservationState) \
179 V(Map, external_map, ExternalMap) \ 179 V(Map, external_map, ExternalMap) \
180 V(Object, symbol_registry, SymbolRegistry) \ 180 V(Object, symbol_registry, SymbolRegistry) \
181 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 181 V(SeededNumberDictionary, empty_slow_element_dictionary, \
182 EmptySlowElementDictionary) \ 182 EmptySlowElementDictionary) \
183 V(FixedArray, materialized_objects, MaterializedObjects) \ 183 V(FixedArray, materialized_objects, MaterializedObjects) \
184 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 184 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
185 V(FixedArray, microtask_queue, MicrotaskQueue) \ 185 V(FixedArray, microtask_queue, MicrotaskQueue) \
186 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) 186 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \
187 V(FixedArray, detached_contexts, DetachedContexts)
187 188
188 // Entries in this list are limited to Smis and are not visited during GC. 189 // Entries in this list are limited to Smis and are not visited during GC.
189 #define SMI_ROOT_LIST(V) \ 190 #define SMI_ROOT_LIST(V) \
190 V(Smi, stack_limit, StackLimit) \ 191 V(Smi, stack_limit, StackLimit) \
191 V(Smi, real_stack_limit, RealStackLimit) \ 192 V(Smi, real_stack_limit, RealStackLimit) \
192 V(Smi, last_script_id, LastScriptId) \ 193 V(Smi, last_script_id, LastScriptId) \
193 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 194 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
194 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 195 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
195 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 196 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
196 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) 197 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset)
(...skipping 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2589 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2589 2590
2590 private: 2591 private:
2591 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2592 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2592 }; 2593 };
2593 #endif // DEBUG 2594 #endif // DEBUG
2594 } 2595 }
2595 } // namespace v8::internal 2596 } // namespace v8::internal
2596 2597
2597 #endif // V8_HEAP_HEAP_H_ 2598 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698