- Timestamp:
- Nov 1, 2008, 7:32:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dnmalloc.c
r180 r187 1870 1870 #define mem2chunk(mem) (hashtable_lookup(mem)) 1871 1871 1872 /* The smallest possible chunk */ 1873 #define MIN_CHUNK_SIZE 16 1872 /* The smallest possible chunk */ 1873 /* #define MIN_CHUNK_SIZE 16 */ 1874 #if (SIZEOF_UNSIGNED_LONG == 8) || defined(__arch64__) || defined(__ia64__) || defined(__x86_64__) || defined(__LP64__) || defined(__64BIT__) || defined(_LP64) || defined(_M_IA64) || (defined(_MIPS_SZLONG) && (_MIPS_SZLONG == 64)) 1875 # define MIN_CHUNK_SIZE 32 1876 #else 1877 # define MIN_CHUNK_SIZE 16 1878 #endif 1874 1879 1875 1880 /* The smallest size we can malloc is an aligned minimal chunk */
Note:
See TracChangeset
for help on using the changeset viewer.