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

Side by Side Diff: include/v8.h

Issue 980523004: Retain maps embedded in optimized code for several garbage collections. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Clear on context disposal Created 5 years, 9 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 | « no previous file | src/flag-definitions.h » ('j') | src/objects-inl.h » ('J')
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 6411 matching lines...) Expand 10 before | Expand all | Expand 10 after
6422 4 * kApiPointerSize; 6422 4 * kApiPointerSize;
6423 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 6423 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
6424 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 6424 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
6425 static const int kIsolateRootsOffset = 6425 static const int kIsolateRootsOffset =
6426 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 6426 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
6427 kApiPointerSize; 6427 kApiPointerSize;
6428 static const int kUndefinedValueRootIndex = 5; 6428 static const int kUndefinedValueRootIndex = 5;
6429 static const int kNullValueRootIndex = 7; 6429 static const int kNullValueRootIndex = 7;
6430 static const int kTrueValueRootIndex = 8; 6430 static const int kTrueValueRootIndex = 8;
6431 static const int kFalseValueRootIndex = 9; 6431 static const int kFalseValueRootIndex = 9;
6432 static const int kEmptyStringRootIndex = 155; 6432 static const int kEmptyStringRootIndex = 156;
6433 6433
6434 // The external allocation limit should be below 256 MB on all architectures 6434 // The external allocation limit should be below 256 MB on all architectures
6435 // to avoid that resource-constrained embedders run low on memory. 6435 // to avoid that resource-constrained embedders run low on memory.
6436 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 6436 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
6437 6437
6438 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 6438 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
6439 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 6439 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
6440 static const int kNodeStateMask = 0x7; 6440 static const int kNodeStateMask = 0x7;
6441 static const int kNodeStateIsWeakValue = 2; 6441 static const int kNodeStateIsWeakValue = 2;
6442 static const int kNodeStateIsPendingValue = 3; 6442 static const int kNodeStateIsPendingValue = 3;
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
7716 */ 7716 */
7717 7717
7718 7718
7719 } // namespace v8 7719 } // namespace v8
7720 7720
7721 7721
7722 #undef TYPE_CHECK 7722 #undef TYPE_CHECK
7723 7723
7724 7724
7725 #endif // V8_H_ 7725 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698