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

Side by Side Diff: src/globals.h

Issue 2888093003: [heap] Add GN flag for enabling concurrent marking. (Closed)
Patch Set: infer runtime flag from compile time flag Created 3 years, 7 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/concurrent-marking.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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #endif 111 #endif
112 112
113 113
114 // Determine whether double field unboxing feature is enabled. 114 // Determine whether double field unboxing feature is enabled.
115 #if V8_TARGET_ARCH_64_BIT 115 #if V8_TARGET_ARCH_64_BIT
116 #define V8_DOUBLE_FIELDS_UNBOXING 1 116 #define V8_DOUBLE_FIELDS_UNBOXING 1
117 #else 117 #else
118 #define V8_DOUBLE_FIELDS_UNBOXING 0 118 #define V8_DOUBLE_FIELDS_UNBOXING 0
119 #endif 119 #endif
120 120
121 #define V8_CONCURRENT_MARKING 0
122
123 // Some types of tracing require the SFI to store a unique ID. 121 // Some types of tracing require the SFI to store a unique ID.
124 #if defined(V8_TRACE_MAPS) || defined(V8_TRACE_IGNITION) 122 #if defined(V8_TRACE_MAPS) || defined(V8_TRACE_IGNITION)
125 #define V8_SFI_HAS_UNIQUE_ID 1 123 #define V8_SFI_HAS_UNIQUE_ID 1
126 #endif 124 #endif
127 125
128 typedef uint8_t byte; 126 typedef uint8_t byte;
129 typedef byte* Address; 127 typedef byte* Address;
130 128
131 // ----------------------------------------------------------------------------- 129 // -----------------------------------------------------------------------------
132 // Constants 130 // Constants
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 } // namespace internal 1418 } // namespace internal
1421 } // namespace v8 1419 } // namespace v8
1422 1420
1423 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is 1421 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is
1424 // reducing a JSArray method, or a JSTypedArray method. 1422 // reducing a JSArray method, or a JSTypedArray method.
1425 enum class ArrayIteratorKind { kArray, kTypedArray }; 1423 enum class ArrayIteratorKind { kArray, kTypedArray };
1426 1424
1427 namespace i = v8::internal; 1425 namespace i = v8::internal;
1428 1426
1429 #endif // V8_GLOBALS_H_ 1427 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/concurrent-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698