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

Side by Side Diff: include/v8.h

Issue 1844283002: [heap] Remove store buffer top from roots (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « BUILD.gn ('k') | src/heap/heap.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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 7260 matching lines...) Expand 10 before | Expand all | Expand 10 after
7271 static const int kExternalOneByteRepresentationTag = 0x06; 7271 static const int kExternalOneByteRepresentationTag = 0x06;
7272 7272
7273 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; 7273 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize;
7274 static const int kAmountOfExternalAllocatedMemoryOffset = 7274 static const int kAmountOfExternalAllocatedMemoryOffset =
7275 4 * kApiPointerSize; 7275 4 * kApiPointerSize;
7276 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 7276 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
7277 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 7277 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
7278 static const int kIsolateRootsOffset = 7278 static const int kIsolateRootsOffset =
7279 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 7279 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
7280 kApiPointerSize; 7280 kApiPointerSize;
7281 static const int kUndefinedValueRootIndex = 5; 7281 static const int kUndefinedValueRootIndex = 4;
7282 static const int kNullValueRootIndex = 7; 7282 static const int kNullValueRootIndex = 6;
7283 static const int kTrueValueRootIndex = 8; 7283 static const int kTrueValueRootIndex = 7;
7284 static const int kFalseValueRootIndex = 9; 7284 static const int kFalseValueRootIndex = 8;
7285 static const int kEmptyStringRootIndex = 10; 7285 static const int kEmptyStringRootIndex = 9;
7286 7286
7287 // The external allocation limit should be below 256 MB on all architectures 7287 // The external allocation limit should be below 256 MB on all architectures
7288 // to avoid that resource-constrained embedders run low on memory. 7288 // to avoid that resource-constrained embedders run low on memory.
7289 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 7289 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
7290 7290
7291 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 7291 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
7292 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 7292 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
7293 static const int kNodeStateMask = 0x7; 7293 static const int kNodeStateMask = 0x7;
7294 static const int kNodeStateIsWeakValue = 2; 7294 static const int kNodeStateIsWeakValue = 2;
7295 static const int kNodeStateIsPendingValue = 3; 7295 static const int kNodeStateIsPendingValue = 3;
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
8687 */ 8687 */
8688 8688
8689 8689
8690 } // namespace v8 8690 } // namespace v8
8691 8691
8692 8692
8693 #undef TYPE_CHECK 8693 #undef TYPE_CHECK
8694 8694
8695 8695
8696 #endif // INCLUDE_V8_H_ 8696 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698