| OLD | NEW |
| 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_H_ | 5 #ifndef V8_HEAP_H_ |
| 6 #define V8_HEAP_H_ | 6 #define V8_HEAP_H_ |
| 7 | 7 |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 V(Map, external_map, ExternalMap) \ | 186 V(Map, external_map, ExternalMap) \ |
| 187 V(Object, symbol_registry, SymbolRegistry) \ | 187 V(Object, symbol_registry, SymbolRegistry) \ |
| 188 V(Symbol, frozen_symbol, FrozenSymbol) \ | 188 V(Symbol, frozen_symbol, FrozenSymbol) \ |
| 189 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ | 189 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ |
| 190 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ | 190 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ |
| 191 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 191 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
| 192 EmptySlowElementDictionary) \ | 192 EmptySlowElementDictionary) \ |
| 193 V(Symbol, observed_symbol, ObservedSymbol) \ | 193 V(Symbol, observed_symbol, ObservedSymbol) \ |
| 194 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ | 194 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ |
| 195 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ | 195 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ |
| 196 V(Symbol, stack_trace_symbol, StackTraceSymbol) \ |
| 197 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \ |
| 196 V(FixedArray, materialized_objects, MaterializedObjects) \ | 198 V(FixedArray, materialized_objects, MaterializedObjects) \ |
| 197 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ | 199 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ |
| 198 V(FixedArray, microtask_queue, MicrotaskQueue) | 200 V(FixedArray, microtask_queue, MicrotaskQueue) |
| 199 | 201 |
| 200 // Entries in this list are limited to Smis and are not visited during GC. | 202 // Entries in this list are limited to Smis and are not visited during GC. |
| 201 #define SMI_ROOT_LIST(V) \ | 203 #define SMI_ROOT_LIST(V) \ |
| 202 V(Smi, stack_limit, StackLimit) \ | 204 V(Smi, stack_limit, StackLimit) \ |
| 203 V(Smi, real_stack_limit, RealStackLimit) \ | 205 V(Smi, real_stack_limit, RealStackLimit) \ |
| 204 V(Smi, last_script_id, LastScriptId) \ | 206 V(Smi, last_script_id, LastScriptId) \ |
| 205 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 207 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 V(exec_string, "exec") \ | 335 V(exec_string, "exec") \ |
| 334 V(zero_string, "0") \ | 336 V(zero_string, "0") \ |
| 335 V(global_eval_string, "GlobalEval") \ | 337 V(global_eval_string, "GlobalEval") \ |
| 336 V(identity_hash_string, "v8::IdentityHash") \ | 338 V(identity_hash_string, "v8::IdentityHash") \ |
| 337 V(closure_string, "(closure)") \ | 339 V(closure_string, "(closure)") \ |
| 338 V(dot_string, ".") \ | 340 V(dot_string, ".") \ |
| 339 V(compare_ic_string, "==") \ | 341 V(compare_ic_string, "==") \ |
| 340 V(strict_compare_ic_string, "===") \ | 342 V(strict_compare_ic_string, "===") \ |
| 341 V(infinity_string, "Infinity") \ | 343 V(infinity_string, "Infinity") \ |
| 342 V(minus_infinity_string, "-Infinity") \ | 344 V(minus_infinity_string, "-Infinity") \ |
| 343 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \ | |
| 344 V(query_colon_string, "(?:)") \ | 345 V(query_colon_string, "(?:)") \ |
| 345 V(Generator_string, "Generator") \ | 346 V(Generator_string, "Generator") \ |
| 346 V(throw_string, "throw") \ | 347 V(throw_string, "throw") \ |
| 347 V(done_string, "done") \ | 348 V(done_string, "done") \ |
| 348 V(value_string, "value") \ | 349 V(value_string, "value") \ |
| 349 V(next_string, "next") \ | 350 V(next_string, "next") \ |
| 350 V(byte_length_string, "byteLength") \ | 351 V(byte_length_string, "byteLength") \ |
| 351 V(byte_offset_string, "byteOffset") \ | 352 V(byte_offset_string, "byteOffset") \ |
| 352 V(buffer_string, "buffer") \ | 353 V(buffer_string, "buffer") \ |
| 353 V(intl_initialized_marker_string, "v8::intl_initialized_marker") \ | 354 V(intl_initialized_marker_string, "v8::intl_initialized_marker") \ |
| (...skipping 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2762 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2763 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 2763 | 2764 |
| 2764 private: | 2765 private: |
| 2765 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2766 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2766 }; | 2767 }; |
| 2767 #endif // DEBUG | 2768 #endif // DEBUG |
| 2768 | 2769 |
| 2769 } } // namespace v8::internal | 2770 } } // namespace v8::internal |
| 2770 | 2771 |
| 2771 #endif // V8_HEAP_H_ | 2772 #endif // V8_HEAP_H_ |
| OLD | NEW |