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_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 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 V(Oddball, the_hole_value, TheHoleValue) \ | 39 V(Oddball, the_hole_value, TheHoleValue) \ |
40 V(Oddball, null_value, NullValue) \ | 40 V(Oddball, null_value, NullValue) \ |
41 V(Oddball, true_value, TrueValue) \ | 41 V(Oddball, true_value, TrueValue) \ |
42 V(Oddball, false_value, FalseValue) \ | 42 V(Oddball, false_value, FalseValue) \ |
43 V(String, empty_string, empty_string) \ | 43 V(String, empty_string, empty_string) \ |
44 V(Map, meta_map, MetaMap) \ | 44 V(Map, meta_map, MetaMap) \ |
45 V(Map, byte_array_map, ByteArrayMap) \ | 45 V(Map, byte_array_map, ByteArrayMap) \ |
46 V(Map, fixed_array_map, FixedArrayMap) \ | 46 V(Map, fixed_array_map, FixedArrayMap) \ |
47 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ | 47 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ |
48 V(Map, hash_table_map, HashTableMap) \ | 48 V(Map, hash_table_map, HashTableMap) \ |
49 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \ | |
50 V(Map, symbol_map, SymbolMap) \ | 49 V(Map, symbol_map, SymbolMap) \ |
51 V(Map, one_byte_string_map, OneByteStringMap) \ | 50 V(Map, one_byte_string_map, OneByteStringMap) \ |
52 V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \ | 51 V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \ |
53 V(Map, scope_info_map, ScopeInfoMap) \ | 52 V(Map, scope_info_map, ScopeInfoMap) \ |
54 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ | 53 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ |
55 V(Map, code_map, CodeMap) \ | 54 V(Map, code_map, CodeMap) \ |
56 V(Map, function_context_map, FunctionContextMap) \ | 55 V(Map, function_context_map, FunctionContextMap) \ |
57 V(Map, cell_map, CellMap) \ | 56 V(Map, cell_map, CellMap) \ |
58 V(Map, weak_cell_map, WeakCellMap) \ | 57 V(Map, weak_cell_map, WeakCellMap) \ |
59 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ | 58 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ |
(...skipping 21 matching lines...) Expand all Loading... |
81 V(Map, script_context_map, ScriptContextMap) \ | 80 V(Map, script_context_map, ScriptContextMap) \ |
82 V(Map, block_context_map, BlockContextMap) \ | 81 V(Map, block_context_map, BlockContextMap) \ |
83 V(Map, catch_context_map, CatchContextMap) \ | 82 V(Map, catch_context_map, CatchContextMap) \ |
84 V(Map, with_context_map, WithContextMap) \ | 83 V(Map, with_context_map, WithContextMap) \ |
85 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ | 84 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ |
86 V(Map, script_context_table_map, ScriptContextTableMap) \ | 85 V(Map, script_context_table_map, ScriptContextTableMap) \ |
87 /* Maps */ \ | 86 /* Maps */ \ |
88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ | 87 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ |
89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ | 88 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ |
90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ | 89 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ |
| 90 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \ |
91 V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \ | 91 V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \ |
92 V(Map, message_object_map, JSMessageObjectMap) \ | 92 V(Map, message_object_map, JSMessageObjectMap) \ |
93 V(Map, neander_map, NeanderMap) \ | 93 V(Map, neander_map, NeanderMap) \ |
94 V(Map, external_map, ExternalMap) \ | 94 V(Map, external_map, ExternalMap) \ |
95 V(Map, bytecode_array_map, BytecodeArrayMap) \ | 95 V(Map, bytecode_array_map, BytecodeArrayMap) \ |
96 /* String maps */ \ | 96 /* String maps */ \ |
97 V(Map, native_source_string_map, NativeSourceStringMap) \ | 97 V(Map, native_source_string_map, NativeSourceStringMap) \ |
98 V(Map, string_map, StringMap) \ | 98 V(Map, string_map, StringMap) \ |
99 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \ | 99 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \ |
100 V(Map, cons_string_map, ConsStringMap) \ | 100 V(Map, cons_string_map, ConsStringMap) \ |
(...skipping 2597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2698 friend class LargeObjectSpace; | 2698 friend class LargeObjectSpace; |
2699 friend class NewSpace; | 2699 friend class NewSpace; |
2700 friend class PagedSpace; | 2700 friend class PagedSpace; |
2701 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2701 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2702 }; | 2702 }; |
2703 | 2703 |
2704 } // namespace internal | 2704 } // namespace internal |
2705 } // namespace v8 | 2705 } // namespace v8 |
2706 | 2706 |
2707 #endif // V8_HEAP_HEAP_H_ | 2707 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |