Changeset 243280 in webkit for trunk/Source/JavaScriptCore/runtime/ArrayConventions.h
- Timestamp:
- Mar 21, 2019, 12:51:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/ArrayConventions.h
r228576 r243280 1 1 /* 2 2 * Copyright (C) 1999-2000 Harri Porten ([email protected]) 3 * Copyright (C) 2003-201 7Apple Inc. All rights reserved.3 * Copyright (C) 2003-2019 Apple Inc. All rights reserved. 4 4 * 5 5 * This library is free software; you can redistribute it and/or … … 66 66 // If you try to allocate a contiguous array larger than this, then we will allocate an ArrayStorage 67 67 // array instead. We allow for an array that occupies 1GB of VM. 68 #define MIN_ARRAY_STORAGE_CONSTRUCTION_LENGTH 1024 * 1024 * 1024 / 868 #define MIN_ARRAY_STORAGE_CONSTRUCTION_LENGTH (1024 * 1024 * 1024 / 8) 69 69 #define MAX_STORAGE_VECTOR_INDEX (MAX_STORAGE_VECTOR_LENGTH - 1) 70 70 // 0xFFFFFFFF is a bit weird -- is not an array index even though it's an integer.
Note:
See TracChangeset
for help on using the changeset viewer.