• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_INIT_HEAP_SYMBOLS_H_
6 #define V8_INIT_HEAP_SYMBOLS_H_
7 
8 #ifdef V8_INTL_SUPPORT
9 #define INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _)               \
10   V(_, adoptText_string, "adoptText")                               \
11   V(_, baseName_string, "baseName")                                 \
12   V(_, accounting_string, "accounting")                             \
13   V(_, breakType_string, "breakType")                               \
14   V(_, calendar_string, "calendar")                                 \
15   V(_, cardinal_string, "cardinal")                                 \
16   V(_, caseFirst_string, "caseFirst")                               \
17   V(_, compare_string, "compare")                                   \
18   V(_, collation_string, "collation")                               \
19   V(_, compact_string, "compact")                                   \
20   V(_, compactDisplay_string, "compactDisplay")                     \
21   V(_, currency_string, "currency")                                 \
22   V(_, currencyDisplay_string, "currencyDisplay")                   \
23   V(_, currencySign_string, "currencySign")                         \
24   V(_, dateStyle_string, "dateStyle")                               \
25   V(_, dateTimeField_string, "dateTimeField")                       \
26   V(_, day_string, "day")                                           \
27   V(_, dayPeriod_string, "dayPeriod")                               \
28   V(_, decimal_string, "decimal")                                   \
29   V(_, endRange_string, "endRange")                                 \
30   V(_, engineering_string, "engineering")                           \
31   V(_, era_string, "era")                                           \
32   V(_, exceptZero_string, "exceptZero")                             \
33   V(_, exponentInteger_string, "exponentInteger")                   \
34   V(_, exponentMinusSign_string, "exponentMinusSign")               \
35   V(_, exponentSeparator_string, "exponentSeparator")               \
36   V(_, fallback_string, "fallback")                                 \
37   V(_, first_string, "first")                                       \
38   V(_, format_string, "format")                                     \
39   V(_, fraction_string, "fraction")                                 \
40   V(_, fractionalSecond_string, "fractionalSecond")                 \
41   V(_, fractionalSecondDigits_string, "fractionalSecondDigits")     \
42   V(_, full_string, "full")                                         \
43   V(_, granularity_string, "granularity")                           \
44   V(_, grapheme_string, "grapheme")                                 \
45   V(_, group_string, "group")                                       \
46   V(_, h11_string, "h11")                                           \
47   V(_, h12_string, "h12")                                           \
48   V(_, h23_string, "h23")                                           \
49   V(_, h24_string, "h24")                                           \
50   V(_, hour_string, "hour")                                         \
51   V(_, hour12_string, "hour12")                                     \
52   V(_, hourCycle_string, "hourCycle")                               \
53   V(_, ideo_string, "ideo")                                         \
54   V(_, ignorePunctuation_string, "ignorePunctuation")               \
55   V(_, Invalid_Date_string, "Invalid Date")                         \
56   V(_, integer_string, "integer")                                   \
57   V(_, isWordLike_string, "isWordLike")                             \
58   V(_, kana_string, "kana")                                         \
59   V(_, language_string, "language")                                 \
60   V(_, letter_string, "letter")                                     \
61   V(_, list_string, "list")                                         \
62   V(_, literal_string, "literal")                                   \
63   V(_, locale_string, "locale")                                     \
64   V(_, loose_string, "loose")                                       \
65   V(_, lower_string, "lower")                                       \
66   V(_, maximumFractionDigits_string, "maximumFractionDigits")       \
67   V(_, maximumSignificantDigits_string, "maximumSignificantDigits") \
68   V(_, minimumFractionDigits_string, "minimumFractionDigits")       \
69   V(_, minimumIntegerDigits_string, "minimumIntegerDigits")         \
70   V(_, minimumSignificantDigits_string, "minimumSignificantDigits") \
71   V(_, minusSign_string, "minusSign")                               \
72   V(_, minute_string, "minute")                                     \
73   V(_, month_string, "month")                                       \
74   V(_, nan_string, "nan")                                           \
75   V(_, narrowSymbol_string, "narrowSymbol")                         \
76   V(_, never_string, "never")                                       \
77   V(_, none_string, "none")                                         \
78   V(_, notation_string, "notation")                                 \
79   V(_, normal_string, "normal")                                     \
80   V(_, numberingSystem_string, "numberingSystem")                   \
81   V(_, numeric_string, "numeric")                                   \
82   V(_, ordinal_string, "ordinal")                                   \
83   V(_, percentSign_string, "percentSign")                           \
84   V(_, plusSign_string, "plusSign")                                 \
85   V(_, quarter_string, "quarter")                                   \
86   V(_, region_string, "region")                                     \
87   V(_, relatedYear_string, "relatedYear")                           \
88   V(_, scientific_string, "scientific")                             \
89   V(_, second_string, "second")                                     \
90   V(_, segment_string, "segment")                                   \
91   V(_, SegmentIterator_string, "Segment Iterator")                  \
92   V(_, Segments_string, "Segments")                                 \
93   V(_, sensitivity_string, "sensitivity")                           \
94   V(_, sep_string, "sep")                                           \
95   V(_, shared_string, "shared")                                     \
96   V(_, signDisplay_string, "signDisplay")                           \
97   V(_, standard_string, "standard")                                 \
98   V(_, startRange_string, "startRange")                             \
99   V(_, strict_string, "strict")                                     \
100   V(_, style_string, "style")                                       \
101   V(_, term_string, "term")                                         \
102   V(_, timeStyle_string, "timeStyle")                               \
103   V(_, timeZone_string, "timeZone")                                 \
104   V(_, timeZoneName_string, "timeZoneName")                         \
105   V(_, type_string, "type")                                         \
106   V(_, unknown_string, "unknown")                                   \
107   V(_, upper_string, "upper")                                       \
108   V(_, usage_string, "usage")                                       \
109   V(_, useGrouping_string, "useGrouping")                           \
110   V(_, UTC_string, "UTC")                                           \
111   V(_, unit_string, "unit")                                         \
112   V(_, unitDisplay_string, "unitDisplay")                           \
113   V(_, weekday_string, "weekday")                                   \
114   V(_, year_string, "year")                                         \
115   V(_, yearName_string, "yearName")
116 #else  // V8_INTL_SUPPORT
117 #define INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _)
118 #endif  // V8_INTL_SUPPORT
119 
120 #define INTERNALIZED_STRING_LIST_GENERATOR(V, _)                     \
121   INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _)                      \
122   V(_, add_string, "add")                                            \
123   V(_, AggregateError_string, "AggregateError")                      \
124   V(_, always_string, "always")                                      \
125   V(_, anonymous_function_string, "(anonymous function)")            \
126   V(_, anonymous_string, "anonymous")                                \
127   V(_, apply_string, "apply")                                        \
128   V(_, Arguments_string, "Arguments")                                \
129   V(_, arguments_string, "arguments")                                \
130   V(_, arguments_to_string, "[object Arguments]")                    \
131   V(_, Array_string, "Array")                                        \
132   V(_, array_to_string, "[object Array]")                            \
133   V(_, ArrayBuffer_string, "ArrayBuffer")                            \
134   V(_, ArrayIterator_string, "Array Iterator")                       \
135   V(_, as_string, "as")                                              \
136   V(_, assert_string, "assert")                                      \
137   V(_, async_string, "async")                                        \
138   V(_, auto_string, "auto")                                          \
139   V(_, await_string, "await")                                        \
140   V(_, BigInt_string, "BigInt")                                      \
141   V(_, bigint_string, "bigint")                                      \
142   V(_, BigInt64Array_string, "BigInt64Array")                        \
143   V(_, BigUint64Array_string, "BigUint64Array")                      \
144   V(_, bind_string, "bind")                                          \
145   V(_, Boolean_string, "Boolean")                                    \
146   V(_, boolean_string, "boolean")                                    \
147   V(_, boolean_to_string, "[object Boolean]")                        \
148   V(_, bound__string, "bound ")                                      \
149   V(_, buffer_string, "buffer")                                      \
150   V(_, byte_length_string, "byteLength")                             \
151   V(_, byte_offset_string, "byteOffset")                             \
152   V(_, CompileError_string, "CompileError")                          \
153   V(_, callee_string, "callee")                                      \
154   V(_, caller_string, "caller")                                      \
155   V(_, character_string, "character")                                \
156   V(_, closure_string, "(closure)")                                  \
157   V(_, code_string, "code")                                          \
158   V(_, column_string, "column")                                      \
159   V(_, computed_string, "<computed>")                                \
160   V(_, configurable_string, "configurable")                          \
161   V(_, conjunction_string, "conjunction")                            \
162   V(_, construct_string, "construct")                                \
163   V(_, constructor_string, "constructor")                            \
164   V(_, current_string, "current")                                    \
165   V(_, Date_string, "Date")                                          \
166   V(_, date_to_string, "[object Date]")                              \
167   V(_, default_string, "default")                                    \
168   V(_, defineProperty_string, "defineProperty")                      \
169   V(_, deleteProperty_string, "deleteProperty")                      \
170   V(_, disjunction_string, "disjunction")                            \
171   V(_, display_name_string, "displayName")                           \
172   V(_, done_string, "done")                                          \
173   V(_, dot_brand_string, ".brand")                                   \
174   V(_, dot_catch_string, ".catch")                                   \
175   V(_, dot_default_string, ".default")                               \
176   V(_, dot_for_string, ".for")                                       \
177   V(_, dot_generator_object_string, ".generator_object")             \
178   V(_, dot_result_string, ".result")                                 \
179   V(_, dot_repl_result_string, ".repl_result")                       \
180   V(_, dot_string, ".")                                              \
181   V(_, dot_switch_tag_string, ".switch_tag")                         \
182   V(_, dotAll_string, "dotAll")                                      \
183   V(_, enumerable_string, "enumerable")                              \
184   V(_, element_string, "element")                                    \
185   V(_, Error_string, "Error")                                        \
186   V(_, errors_string, "errors")                                      \
187   V(_, error_to_string, "[object Error]")                            \
188   V(_, eval_string, "eval")                                          \
189   V(_, EvalError_string, "EvalError")                                \
190   V(_, exec_string, "exec")                                          \
191   V(_, false_string, "false")                                        \
192   V(_, FinalizationRegistry_string, "FinalizationRegistry")          \
193   V(_, flags_string, "flags")                                        \
194   V(_, Float32Array_string, "Float32Array")                          \
195   V(_, Float64Array_string, "Float64Array")                          \
196   V(_, from_string, "from")                                          \
197   V(_, Function_string, "Function")                                  \
198   V(_, function_native_code_string, "function () { [native code] }") \
199   V(_, function_string, "function")                                  \
200   V(_, function_to_string, "[object Function]")                      \
201   V(_, Generator_string, "Generator")                                \
202   V(_, get_space_string, "get ")                                     \
203   V(_, get_string, "get")                                            \
204   V(_, getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor")  \
205   V(_, getPrototypeOf_string, "getPrototypeOf")                      \
206   V(_, global_string, "global")                                      \
207   V(_, globalThis_string, "globalThis")                              \
208   V(_, groups_string, "groups")                                      \
209   V(_, has_string, "has")                                            \
210   V(_, ignoreCase_string, "ignoreCase")                              \
211   V(_, illegal_access_string, "illegal access")                      \
212   V(_, illegal_argument_string, "illegal argument")                  \
213   V(_, index_string, "index")                                        \
214   V(_, indices_string, "indices")                                    \
215   V(_, Infinity_string, "Infinity")                                  \
216   V(_, infinity_string, "infinity")                                  \
217   V(_, input_string, "input")                                        \
218   V(_, Int16Array_string, "Int16Array")                              \
219   V(_, Int32Array_string, "Int32Array")                              \
220   V(_, Int8Array_string, "Int8Array")                                \
221   V(_, isExtensible_string, "isExtensible")                          \
222   V(_, jsMemoryEstimate_string, "jsMemoryEstimate")                  \
223   V(_, jsMemoryRange_string, "jsMemoryRange")                        \
224   V(_, keys_string, "keys")                                          \
225   V(_, lastIndex_string, "lastIndex")                                \
226   V(_, length_string, "length")                                      \
227   V(_, let_string, "let")                                            \
228   V(_, line_string, "line")                                          \
229   V(_, linear_string, "linear")                                      \
230   V(_, LinkError_string, "LinkError")                                \
231   V(_, long_string, "long")                                          \
232   V(_, Map_string, "Map")                                            \
233   V(_, MapIterator_string, "Map Iterator")                           \
234   V(_, medium_string, "medium")                                      \
235   V(_, message_string, "message")                                    \
236   V(_, meta_string, "meta")                                          \
237   V(_, minus_Infinity_string, "-Infinity")                           \
238   V(_, Module_string, "Module")                                      \
239   V(_, multiline_string, "multiline")                                \
240   V(_, name_string, "name")                                          \
241   V(_, NaN_string, "NaN")                                            \
242   V(_, narrow_string, "narrow")                                      \
243   V(_, native_string, "native")                                      \
244   V(_, new_target_string, ".new.target")                             \
245   V(_, next_string, "next")                                          \
246   V(_, NFC_string, "NFC")                                            \
247   V(_, NFD_string, "NFD")                                            \
248   V(_, NFKC_string, "NFKC")                                          \
249   V(_, NFKD_string, "NFKD")                                          \
250   V(_, not_equal_string, "not-equal")                                \
251   V(_, null_string, "null")                                          \
252   V(_, null_to_string, "[object Null]")                              \
253   V(_, Number_string, "Number")                                      \
254   V(_, number_string, "number")                                      \
255   V(_, number_to_string, "[object Number]")                          \
256   V(_, Object_string, "Object")                                      \
257   V(_, object_string, "object")                                      \
258   V(_, object_to_string, "[object Object]")                          \
259   V(_, of_string, "of")                                              \
260   V(_, ok_string, "ok")                                              \
261   V(_, one_string, "1")                                              \
262   V(_, other_string, "other")                                        \
263   V(_, ownKeys_string, "ownKeys")                                    \
264   V(_, percent_string, "percent")                                    \
265   V(_, position_string, "position")                                  \
266   V(_, preventExtensions_string, "preventExtensions")                \
267   V(_, private_constructor_string, "#constructor")                   \
268   V(_, Promise_string, "Promise")                                    \
269   V(_, proto_string, "__proto__")                                    \
270   V(_, prototype_string, "prototype")                                \
271   V(_, proxy_string, "proxy")                                        \
272   V(_, Proxy_string, "Proxy")                                        \
273   V(_, query_colon_string, "(?:)")                                   \
274   V(_, RangeError_string, "RangeError")                              \
275   V(_, raw_string, "raw")                                            \
276   V(_, ReferenceError_string, "ReferenceError")                      \
277   V(_, ReflectGet_string, "Reflect.get")                             \
278   V(_, ReflectHas_string, "Reflect.has")                             \
279   V(_, RegExp_string, "RegExp")                                      \
280   V(_, regexp_to_string, "[object RegExp]")                          \
281   V(_, resolve_string, "resolve")                                    \
282   V(_, return_string, "return")                                      \
283   V(_, revoke_string, "revoke")                                      \
284   V(_, RuntimeError_string, "RuntimeError")                          \
285   V(_, Script_string, "Script")                                      \
286   V(_, script_string, "script")                                      \
287   V(_, short_string, "short")                                        \
288   V(_, Set_string, "Set")                                            \
289   V(_, sentence_string, "sentence")                                  \
290   V(_, set_space_string, "set ")                                     \
291   V(_, set_string, "set")                                            \
292   V(_, SetIterator_string, "Set Iterator")                           \
293   V(_, setPrototypeOf_string, "setPrototypeOf")                      \
294   V(_, SharedArrayBuffer_string, "SharedArrayBuffer")                \
295   V(_, source_string, "source")                                      \
296   V(_, sourceText_string, "sourceText")                              \
297   V(_, stack_string, "stack")                                        \
298   V(_, stackTraceLimit_string, "stackTraceLimit")                    \
299   V(_, sticky_string, "sticky")                                      \
300   V(_, String_string, "String")                                      \
301   V(_, string_string, "string")                                      \
302   V(_, string_to_string, "[object String]")                          \
303   V(_, symbol_species_string, "[Symbol.species]")                    \
304   V(_, Symbol_string, "Symbol")                                      \
305   V(_, symbol_string, "symbol")                                      \
306   V(_, SyntaxError_string, "SyntaxError")                            \
307   V(_, target_string, "target")                                      \
308   V(_, then_string, "then")                                          \
309   V(_, this_function_string, ".this_function")                       \
310   V(_, this_string, "this")                                          \
311   V(_, throw_string, "throw")                                        \
312   V(_, timed_out_string, "timed-out")                                \
313   V(_, toJSON_string, "toJSON")                                      \
314   V(_, toString_string, "toString")                                  \
315   V(_, true_string, "true")                                          \
316   V(_, total_string, "total")                                        \
317   V(_, TypeError_string, "TypeError")                                \
318   V(_, Uint16Array_string, "Uint16Array")                            \
319   V(_, Uint32Array_string, "Uint32Array")                            \
320   V(_, Uint8Array_string, "Uint8Array")                              \
321   V(_, Uint8ClampedArray_string, "Uint8ClampedArray")                \
322   V(_, undefined_string, "undefined")                                \
323   V(_, undefined_to_string, "[object Undefined]")                    \
324   V(_, unicode_string, "unicode")                                    \
325   V(_, URIError_string, "URIError")                                  \
326   V(_, value_string, "value")                                        \
327   V(_, valueOf_string, "valueOf")                                    \
328   V(_, WeakMap_string, "WeakMap")                                    \
329   V(_, WeakRef_string, "WeakRef")                                    \
330   V(_, WeakSet_string, "WeakSet")                                    \
331   V(_, week_string, "week")                                          \
332   V(_, word_string, "word")                                          \
333   V(_, writable_string, "writable")                                  \
334   V(_, zero_string, "0")
335 
336 #define PRIVATE_SYMBOL_LIST_GENERATOR(V, _)           \
337   V(_, call_site_frame_array_symbol)                  \
338   V(_, call_site_frame_index_symbol)                  \
339   V(_, console_context_id_symbol)                     \
340   V(_, console_context_name_symbol)                   \
341   V(_, class_fields_symbol)                           \
342   V(_, class_positions_symbol)                        \
343   V(_, detailed_stack_trace_symbol)                   \
344   V(_, elements_transition_symbol)                    \
345   V(_, error_end_pos_symbol)                          \
346   V(_, error_script_symbol)                           \
347   V(_, error_start_pos_symbol)                        \
348   V(_, frozen_symbol)                                 \
349   V(_, home_object_symbol)                            \
350   V(_, interpreter_trampoline_symbol)                 \
351   V(_, megamorphic_symbol)                            \
352   V(_, native_context_index_symbol)                   \
353   V(_, nonextensible_symbol)                          \
354   V(_, not_mapped_symbol)                             \
355   V(_, promise_debug_marker_symbol)                   \
356   V(_, promise_debug_message_symbol)                  \
357   V(_, promise_forwarding_handler_symbol)             \
358   V(_, promise_handled_by_symbol)                     \
359   V(_, regexp_result_cached_indices_or_regexp_symbol) \
360   V(_, regexp_result_names_symbol)                    \
361   V(_, regexp_result_regexp_input_symbol)             \
362   V(_, regexp_result_regexp_last_index_symbol)        \
363   V(_, sealed_symbol)                                 \
364   V(_, stack_trace_symbol)                            \
365   V(_, strict_function_transition_symbol)             \
366   V(_, wasm_exception_tag_symbol)                     \
367   V(_, wasm_exception_values_symbol)                  \
368   V(_, wasm_uncatchable_symbol)                       \
369   V(_, wasm_wrapped_object_symbol)                    \
370   V(_, uninitialized_symbol)
371 
372 #define PUBLIC_SYMBOL_LIST_GENERATOR(V, _)          \
373   V(_, async_iterator_symbol, Symbol.asyncIterator) \
374   V(_, iterator_symbol, Symbol.iterator)            \
375   V(_, intl_fallback_symbol, IntlFallback)          \
376   V(_, match_all_symbol, Symbol.matchAll)           \
377   V(_, match_symbol, Symbol.match)                  \
378   V(_, replace_symbol, Symbol.replace)              \
379   V(_, search_symbol, Symbol.search)                \
380   V(_, species_symbol, Symbol.species)              \
381   V(_, split_symbol, Symbol.split)                  \
382   V(_, to_primitive_symbol, Symbol.toPrimitive)     \
383   V(_, unscopables_symbol, Symbol.unscopables)
384 
385 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
386 // them to produce an undefined value when a load results in a failed access
387 // check. Because this behaviour is not specified properly as of yet, it only
388 // applies to a subset of spec-defined Well-Known Symbols.
389 #define WELL_KNOWN_SYMBOL_LIST_GENERATOR(V, _)                 \
390   V(_, has_instance_symbol, Symbol.hasInstance)                \
391   V(_, is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
392   V(_, to_string_tag_symbol, Symbol.toStringTag)
393 
394 #define INCREMENTAL_SCOPES(F)                                      \
395   /* MC_INCREMENTAL is the top-level incremental marking scope. */ \
396   F(MC_INCREMENTAL)                                                \
397   F(MC_INCREMENTAL_EMBEDDER_PROLOGUE)                              \
398   F(MC_INCREMENTAL_EMBEDDER_TRACING)                               \
399   F(MC_INCREMENTAL_EXTERNAL_EPILOGUE)                              \
400   F(MC_INCREMENTAL_EXTERNAL_PROLOGUE)                              \
401   F(MC_INCREMENTAL_FINALIZE)                                       \
402   F(MC_INCREMENTAL_FINALIZE_BODY)                                  \
403   F(MC_INCREMENTAL_LAYOUT_CHANGE)                                  \
404   F(MC_INCREMENTAL_START)                                          \
405   F(MC_INCREMENTAL_SWEEP_ARRAY_BUFFERS)                            \
406   F(MC_INCREMENTAL_SWEEPING)
407 
408 #define TOP_MC_SCOPES(F) \
409   F(MC_CLEAR)            \
410   F(MC_EPILOGUE)         \
411   F(MC_EVACUATE)         \
412   F(MC_FINISH)           \
413   F(MC_MARK)             \
414   F(MC_PROLOGUE)         \
415   F(MC_SWEEP)
416 
417 #define TRACER_SCOPES(F)                             \
418   INCREMENTAL_SCOPES(F)                              \
419   F(HEAP_EMBEDDER_TRACING_EPILOGUE)                  \
420   F(HEAP_EPILOGUE)                                   \
421   F(HEAP_EPILOGUE_REDUCE_NEW_SPACE)                  \
422   F(HEAP_EPILOGUE_SAFEPOINT)                         \
423   F(HEAP_EXTERNAL_EPILOGUE)                          \
424   F(HEAP_EXTERNAL_PROLOGUE)                          \
425   F(HEAP_EXTERNAL_WEAK_GLOBAL_HANDLES)               \
426   F(HEAP_PROLOGUE)                                   \
427   F(HEAP_PROLOGUE_SAFEPOINT)                         \
428   TOP_MC_SCOPES(F)                                   \
429   F(MC_CLEAR_DEPENDENT_CODE)                         \
430   F(MC_CLEAR_FLUSHABLE_BYTECODE)                     \
431   F(MC_CLEAR_FLUSHED_JS_FUNCTIONS)                   \
432   F(MC_CLEAR_MAPS)                                   \
433   F(MC_CLEAR_SLOTS_BUFFER)                           \
434   F(MC_CLEAR_STORE_BUFFER)                           \
435   F(MC_CLEAR_STRING_TABLE)                           \
436   F(MC_CLEAR_WEAK_COLLECTIONS)                       \
437   F(MC_CLEAR_WEAK_LISTS)                             \
438   F(MC_CLEAR_WEAK_REFERENCES)                        \
439   F(MC_COMPLETE_SWEEP_ARRAY_BUFFERS)                 \
440   F(MC_EVACUATE_CANDIDATES)                          \
441   F(MC_EVACUATE_CLEAN_UP)                            \
442   F(MC_EVACUATE_COPY)                                \
443   F(MC_EVACUATE_COPY_PARALLEL)                       \
444   F(MC_EVACUATE_EPILOGUE)                            \
445   F(MC_EVACUATE_PROLOGUE)                            \
446   F(MC_EVACUATE_REBALANCE)                           \
447   F(MC_EVACUATE_UPDATE_POINTERS)                     \
448   F(MC_EVACUATE_UPDATE_POINTERS_PARALLEL)            \
449   F(MC_EVACUATE_UPDATE_POINTERS_SLOTS_MAIN)          \
450   F(MC_EVACUATE_UPDATE_POINTERS_SLOTS_MAP_SPACE)     \
451   F(MC_EVACUATE_UPDATE_POINTERS_TO_NEW_ROOTS)        \
452   F(MC_EVACUATE_UPDATE_POINTERS_WEAK)                \
453   F(MC_FINISH_SWEEP_ARRAY_BUFFERS)                   \
454   F(MC_MARK_EMBEDDER_PROLOGUE)                       \
455   F(MC_MARK_EMBEDDER_TRACING)                        \
456   F(MC_MARK_EMBEDDER_TRACING_CLOSURE)                \
457   F(MC_MARK_FINISH_INCREMENTAL)                      \
458   F(MC_MARK_MAIN)                                    \
459   F(MC_MARK_ROOTS)                                   \
460   F(MC_MARK_WEAK_CLOSURE)                            \
461   F(MC_MARK_WEAK_CLOSURE_EPHEMERON)                  \
462   F(MC_MARK_WEAK_CLOSURE_EPHEMERON_MARKING)          \
463   F(MC_MARK_WEAK_CLOSURE_EPHEMERON_LINEAR)           \
464   F(MC_MARK_WEAK_CLOSURE_WEAK_HANDLES)               \
465   F(MC_MARK_WEAK_CLOSURE_WEAK_ROOTS)                 \
466   F(MC_MARK_WEAK_CLOSURE_HARMONY)                    \
467   F(MC_SWEEP_CODE)                                   \
468   F(MC_SWEEP_MAP)                                    \
469   F(MC_SWEEP_OLD)                                    \
470   F(MINOR_MC)                                        \
471   F(MINOR_MC_CLEAR)                                  \
472   F(MINOR_MC_CLEAR_STRING_TABLE)                     \
473   F(MINOR_MC_CLEAR_WEAK_LISTS)                       \
474   F(MINOR_MC_EVACUATE)                               \
475   F(MINOR_MC_EVACUATE_CLEAN_UP)                      \
476   F(MINOR_MC_EVACUATE_COPY)                          \
477   F(MINOR_MC_EVACUATE_COPY_PARALLEL)                 \
478   F(MINOR_MC_EVACUATE_EPILOGUE)                      \
479   F(MINOR_MC_EVACUATE_PROLOGUE)                      \
480   F(MINOR_MC_EVACUATE_REBALANCE)                     \
481   F(MINOR_MC_EVACUATE_UPDATE_POINTERS)               \
482   F(MINOR_MC_EVACUATE_UPDATE_POINTERS_PARALLEL)      \
483   F(MINOR_MC_EVACUATE_UPDATE_POINTERS_SLOTS)         \
484   F(MINOR_MC_EVACUATE_UPDATE_POINTERS_TO_NEW_ROOTS)  \
485   F(MINOR_MC_EVACUATE_UPDATE_POINTERS_WEAK)          \
486   F(MINOR_MC_MARK)                                   \
487   F(MINOR_MC_MARK_GLOBAL_HANDLES)                    \
488   F(MINOR_MC_MARK_PARALLEL)                          \
489   F(MINOR_MC_MARK_SEED)                              \
490   F(MINOR_MC_MARK_ROOTS)                             \
491   F(MINOR_MC_MARK_WEAK)                              \
492   F(MINOR_MC_MARKING_DEQUE)                          \
493   F(MINOR_MC_RESET_LIVENESS)                         \
494   F(MINOR_MC_SWEEPING)                               \
495   F(SCAVENGER_COMPLETE_SWEEP_ARRAY_BUFFERS)          \
496   F(SCAVENGER_FAST_PROMOTE)                          \
497   F(SCAVENGER_FREE_REMEMBERED_SET)                   \
498   F(SCAVENGER_SCAVENGE)                              \
499   F(SCAVENGER_SCAVENGE_WEAK_GLOBAL_HANDLES_IDENTIFY) \
500   F(SCAVENGER_SCAVENGE_WEAK_GLOBAL_HANDLES_PROCESS)  \
501   F(SCAVENGER_SCAVENGE_PARALLEL)                     \
502   F(SCAVENGER_SCAVENGE_ROOTS)                        \
503   F(SCAVENGER_SCAVENGE_STACK_ROOTS)                  \
504   F(SCAVENGER_SCAVENGE_UPDATE_REFS)                  \
505   F(SCAVENGER_SCAVENGE_WEAK)                         \
506   F(SCAVENGER_SCAVENGE_FINALIZE)                     \
507   F(SCAVENGER_SWEEP_ARRAY_BUFFERS)                   \
508   F(STOP_THE_WORLD)
509 
510 #define TRACER_BACKGROUND_SCOPES(F)               \
511   F(BACKGROUND_ARRAY_BUFFER_FREE)                 \
512   F(BACKGROUND_ARRAY_BUFFER_SWEEP)                \
513   F(BACKGROUND_COLLECTION)                        \
514   F(BACKGROUND_STORE_BUFFER)                      \
515   F(BACKGROUND_UNMAPPER)                          \
516   F(MC_BACKGROUND_EVACUATE_COPY)                  \
517   F(MC_BACKGROUND_EVACUATE_UPDATE_POINTERS)       \
518   F(MC_BACKGROUND_MARKING)                        \
519   F(MC_BACKGROUND_SWEEPING)                       \
520   F(MINOR_MC_BACKGROUND_EVACUATE_COPY)            \
521   F(MINOR_MC_BACKGROUND_EVACUATE_UPDATE_POINTERS) \
522   F(MINOR_MC_BACKGROUND_MARKING)                  \
523   F(SCAVENGER_BACKGROUND_SCAVENGE_PARALLEL)
524 
525 #endif  // V8_INIT_HEAP_SYMBOLS_H_
526