aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
AgeCommit message (Expand)AuthorLines
2016-02-06Make sure variable declarations occur at the beginning of blocks, evendrh-2/+5
2016-02-05Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majoritydrh-39/+52
2016-02-05Further performance improvements that fall out of the mallocFailed changes.drh-7/+11
2016-02-05Improvements to the way that OOM errors are processed.drh-9/+42
2016-01-20Performance improvement in sqlite3DbMallocRaw().drh-4/+8
2015-12-10Move pointer range comparisons into a macro, where they can be dealt withdrh-2/+2
2015-10-26Remove an unreachable branch in malloc.c.drh-1/+1
2015-10-15Remove a superfluous conditional from the memory allocation initialization.drh-3/+1
2015-10-15Performance optimizations to the sqlite3MallocSize() by requiring thedrh-2/+3
2015-10-15Change sqlite3StatusSet() into sqlite3StatusHighwater() so that only thedrh-3/+3
2015-09-10No-op the sqlite3_memory_alarm() interface in a different way, that doesdrh-60/+44
2015-09-02The sqlite3_memory_alarm() interface has been deprecated and undocumenteddrh-82/+53
2015-09-01Small size reduction and performance increase in sqlite3DbMallocSize().drh-9/+10
2015-07-04Preserve the number of requested PAGECACHE pages even if the memory pointerdrh-2/+1
2015-06-30Change sqlite3ApiExit() so that its first argument is never NULL.drh-7/+6
2015-05-15Simplifications to error message processing. Fix a possible problem in errordrh-11/+3
2015-05-10Fix the sqlite3_memory_used() and sqlite3_memory_highwater() interfaces sodrh-9/+5
2015-03-26Avoid leaving the malloc subsystem in a partially initialized state ifdrh-1/+4
2015-03-23Add the sqlite3_status64() interface. Make the new interface and the legacydrh-13/+20
2015-03-21Fix harmless compiler warnings with MSVC when assert() and SQLITE_MEMDEBUG ar...mistachkin-8/+8
2014-11-04Change the definition of SQLITE_CONFIG_SCRATCH so that at most one scratchdrh-5/+6
2014-10-07Enhance (and fix) the MEMTYPE tags associated with heap memory allocationsdrh-15/+16
2014-10-03Update to requirements marks related to changes in the memory allocationdrh-5/+5
2014-09-18Add the Mem.szMalloc element to the Mem object and use it to keep track ofdrh-8/+11
2014-09-18Fix harmless warnings on 32-bit MSVC builds.drh-3/+3
2014-09-18Fix compiler warnings and change the nullMem structure initializer into adrh-4/+4
2014-09-09Add new APIs that take 64-bit length parameters:drh-14/+28
2014-08-23Faster implementation of the sqlite3ApiExit() routine.drh-5/+12
2014-08-23Another memory allocator performance optimization.drh-1/+9
2014-08-23Changes to sqlite3ScratchMalloc() that make the entire memory allocationdrh-8/+6
2014-08-22Split the sqlite3Error() routine into sqlite3Error() anddrh-1/+1
2013-12-10Simplify and improve the performance of the sqlite3VdbeMemGrow() routine.drh-3/+4
2013-09-13Change the PRAGMA parser to use a binary search for the pragma name.drh-0/+1
2012-05-21Make sure lookaside memory allocations are unusable after they are freed.drh-0/+4
2011-12-22Check the return code from sqlite3_initialize() called from withindrh-1/+2
2011-05-05Fix a bug in memory usage tracking that was introduced bydrh-2/+2
2011-04-15Remove stray semi-colon that MSVC complained about.shaneh-1/+1
2011-04-15Changes to memory allocator usage tracking to delay the onset of integerdrh-5/+6
2011-04-05Suppress many harmless compiler warnings, mostly signed/unsigned comparisons drh-1/+1
2010-12-20Add additional DBSTATUS options for measuring the hit and miss rates againstdrh-7/+13
2010-10-04Warning cleanup from MSVC.shaneh-1/+1
2010-09-28Fix several harmless compiler warnings.drh-1/+1
2010-09-15Added the sqlite3_soft_heap_limit64() interface. Deprecate the olderdrh-73/+75
2010-09-11Fix a couple of incorrect evidence marks on malloc().drh-2/+2
2010-09-11Additional evidence marks on the malloc() implementation. Update the drh-4/+6
2010-09-11Add assert() statements to demonstrate that memory allocations are alwaysdrh-0/+2
2010-09-02Fix an off-by-one error in the scratch memory allocator.drh-1/+1
2010-09-02Use sqlite3_mutex_notheld() instead of !sqlite3_mutex_held() insidedrh-1/+1
2010-09-02If MEM_STATUS is disabled, avoid holding the STATIC_MEM mutex when calling th...dan-1/+5
2010-08-31Add evidence mark comments to source code. Add additional information to thedrh-4/+8