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

Side by Side Diff: include/v8.h

Issue 2021893002: Revert of Reland "[heap] Fine-grained JSArrayBuffer tracking" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/array-buffer-tracker.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 7401 matching lines...) Expand 10 before | Expand all | Expand 10 after
7412 static const int kExternalTwoByteRepresentationTag = 0x02; 7412 static const int kExternalTwoByteRepresentationTag = 0x02;
7413 static const int kExternalOneByteRepresentationTag = 0x06; 7413 static const int kExternalOneByteRepresentationTag = 0x06;
7414 7414
7415 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; 7415 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize;
7416 static const int kAmountOfExternalAllocatedMemoryOffset = 7416 static const int kAmountOfExternalAllocatedMemoryOffset =
7417 4 * kApiPointerSize; 7417 4 * kApiPointerSize;
7418 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 7418 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
7419 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 7419 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
7420 static const int kIsolateRootsOffset = 7420 static const int kIsolateRootsOffset =
7421 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 7421 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
7422 kApiPointerSize + kApiPointerSize; 7422 kApiPointerSize;
7423 static const int kUndefinedValueRootIndex = 4; 7423 static const int kUndefinedValueRootIndex = 4;
7424 static const int kTheHoleValueRootIndex = 5; 7424 static const int kTheHoleValueRootIndex = 5;
7425 static const int kNullValueRootIndex = 6; 7425 static const int kNullValueRootIndex = 6;
7426 static const int kTrueValueRootIndex = 7; 7426 static const int kTrueValueRootIndex = 7;
7427 static const int kFalseValueRootIndex = 8; 7427 static const int kFalseValueRootIndex = 8;
7428 static const int kEmptyStringRootIndex = 9; 7428 static const int kEmptyStringRootIndex = 9;
7429 7429
7430 // The external allocation limit should be below 256 MB on all architectures 7430 // The external allocation limit should be below 256 MB on all architectures
7431 // to avoid that resource-constrained embedders run low on memory. 7431 // to avoid that resource-constrained embedders run low on memory.
7432 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 7432 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after
8805 */ 8805 */
8806 8806
8807 8807
8808 } // namespace v8 8808 } // namespace v8
8809 8809
8810 8810
8811 #undef TYPE_CHECK 8811 #undef TYPE_CHECK
8812 8812
8813 8813
8814 #endif // INCLUDE_V8_H_ 8814 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/heap/array-buffer-tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698