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

Side by Side Diff: src/globals.h

Issue 2735803005: [heap] Start concurrent marking simultaneously with incremental marking. (Closed)
Patch Set: fix test Created 3 years, 8 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.h » ('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
121 122
122 typedef uint8_t byte; 123 typedef uint8_t byte;
123 typedef byte* Address; 124 typedef byte* Address;
124 125
125 // ----------------------------------------------------------------------------- 126 // -----------------------------------------------------------------------------
126 // Constants 127 // Constants
127 128
128 const int KB = 1024; 129 const int KB = 1024;
129 const int MB = KB * KB; 130 const int MB = KB * KB;
130 const int GB = KB * KB * KB; 131 const int GB = KB * KB * KB;
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 } // namespace internal 1421 } // namespace internal
1421 } // namespace v8 1422 } // namespace v8
1422 1423
1423 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is 1424 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is
1424 // reducing a JSArray method, or a JSTypedArray method. 1425 // reducing a JSArray method, or a JSTypedArray method.
1425 enum class ArrayIteratorKind { kArray, kTypedArray }; 1426 enum class ArrayIteratorKind { kArray, kTypedArray };
1426 1427
1427 namespace i = v8::internal; 1428 namespace i = v8::internal;
1428 1429
1429 #endif // V8_GLOBALS_H_ 1430 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/concurrent-marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698