aboutsummaryrefslogtreecommitdiff
path: root/src/mem3.c
Commit message (Collapse)AuthorAge
* Extend the refactoring into extensions. Clean up stray newlines.drh2020-06-19
| | | FossilOrigin-Name: 7a876209a678a34c198b54ceef9e3c041f128a14dc73357f6a57cadadaa6cf7b
* Performance optimizations to the sqlite3MallocSize() by requiring thedrh2015-10-15
| | | | | argument to always be non-NULL. FossilOrigin-Name: cb65989b0710c65e4df69063b346344fdb1d12c7
* Add a target to main.mk that will fail if the amalgamation contains any ↵dan2011-07-07
| | | | | exported symbols that do not begin with "sqlite3_". Run this target from within releasetest.tcl. Add "static" to a couple of private functions in mem3.c. FossilOrigin-Name: a68b6580c7d436c896a644a475cdba33c2c8d6e6
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Make sure mem3.c releases its mutex on an sqlite3_shutdown() call.drh2009-10-13
| | | FossilOrigin-Name: 16254ad5aad355acedf72e0a1c618438041d5889
* Fix some compiler warnings that show up when building the amalgamation only. ↵danielk19772008-11-19
| | | | | (CVS 5927) FossilOrigin-Name: d1abe8a1c9a990b02c71d6c249436381c9fde443
* Fix a few more compiler warnings. (CVS 5926)danielk19772008-11-19
| | | FossilOrigin-Name: 70b2f6839ca97dfc08f72875283f5c75c8fcf0cc
* Explicitly initialize at least the first field of every struct. This is to ↵danielk19772008-09-02
| | | | | work around compilers that don't like the syntax "struct XXX { ... } yyy = {};". (CVS 5666) FossilOrigin-Name: 88bfdc87471e65ac5a262a794b8cdf3e563eb327
* Change some more global variables to work with OMIT_WSD. (CVS 5660)danielk19772008-09-02
| | | FossilOrigin-Name: 46acaf58e11ebe69e4fb5f171d3ee29f056d8e68
* Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD ↵danielk19772008-09-01
| | | | | variables still need wrappers added to them. (CVS 5652) FossilOrigin-Name: 573d92abb9adb1c321ebc2fcadcf14374213b093
* Use the actual size of memory allocations to update the memory statusdrh2008-07-18
| | | | | | counters. Fix the roundup() function of mem3 to be much closer to the actual allocation size. Ticket #3226. (CVS 5440) FossilOrigin-Name: 5c22132eb171058f30ec5b7562b8164611236748
* Activate testing of mem3 and mem5. Fix problems found. Tickets #3223drh2008-07-16
| | | | | and #3225. Other test configuration changes. (CVS 5419) FossilOrigin-Name: a3a7820540f6f2285e6c83cac84383fc7d60d267
* Fix mem3.c (broken by (5320)). (CVS 5321)danielk19772008-06-27
| | | FossilOrigin-Name: fef90a21aea11f15371d3fcf44548d786dd8819b
* Have mem3.c and mem5.c grab a mutex when required. Include them both in the ↵danielk19772008-06-25
| | | | | amalgamation again. (CVS 5306) FossilOrigin-Name: 9e3c95ff4048cd8e4c56acf7a8ebedc49621e9c7
* Fix up some details to do with the mem3.c (memsys3) allocator. If the ↵danielk19772008-06-25
| | | | | library is compiled with SQLITE_ENABLE_MEMSYS3, the memsys3 allocator can be selected at runtime. (CVS 5303) FossilOrigin-Name: 9c6c8e01b31abfe2bc8e650bbfdb504021dc7e59
* Modify the memory allocation system in mem3.c so to fit in with the new ↵danielk19772008-06-24
| | | | | sqlite3_mem_methods scheme. At this point it only "mostly" works. (CVS 5297) FossilOrigin-Name: 3febef548fb1c314336fe4bc359d72a4fe84e84e
* Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration ↵danielk19772008-06-18
| | | | | modes. (CVS 5234) FossilOrigin-Name: 5059644c4bc5f6679afd939e0bc26080f42a9918
* Progress toward implementation of sqlite3_config() and a rework of thedrh2008-06-13
| | | | | mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
* Change non-exported memory interfaces to following the naming conventions. ↵drh2008-02-19
| | | | | (CVS 4797) FossilOrigin-Name: 94774b41429c8bfa3582e30c09f414b9e5669575
* Add the experimental mem5.c memory allocator. Allocate the content partdrh2008-02-14
| | | | | of cache pages separately from the header. (See check-ins (4495) and (4409)). (CVS 4789) FossilOrigin-Name: 669ece8c82bfa69add852589dd1211751cb26fb2
* Fix some VdbeMemCopy() related problems. (CVS 4787)danielk19772008-02-14
| | | FossilOrigin-Name: aca2bee8662c3adaa47b3e70b1ef35347111f9eb
* Where possible, avoid freeing buffers allocated for vdbe memory cells in ↵danielk19772008-02-13
| | | | | case they can be reused. (CVS 4783) FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a
* Mem3.c enhanced so that an allocation of N bytes only requires (N+11)&~7 bytesdrh2007-12-29
| | | | | | instead of (N+15)&~7 bytes of heap storage. Minimum heap usage per allocation is still 16 bytes. 8-byte alignment is preserved. (CVS 4644) FossilOrigin-Name: d027f91cea0a6fd1e04d2b3853f21348da601a17
* Add the optional (and experimental) mmap() memory allocator in thedrh2007-11-29
| | | | | mem4.c module. (CVS 4581) FossilOrigin-Name: cfd683ac80fd043343e0f0af90805058daa3818d
* Add asserts on sqlite3_mutex_held() to the zero-malloc memory allocator,drh2007-11-07
| | | | | in order to prove that the mutex is held when it is needed. (CVS 4534) FossilOrigin-Name: 31eb4abc89e9c0fd90fde5486d4008f9d09fdf4e
* Add the new memory allocator to the amalgamation. Improvements todrh2007-10-20
| | | | | out-of-memory handling. (CVS 4498) FossilOrigin-Name: b58c2b37a5deb19ce0ef78629989016743a46bb3
* Bug fix in the realloc algorithm of the static memory allocator. (CVS 4497)drh2007-10-20
| | | FossilOrigin-Name: 50db16be5025f6d5efc51e3354615059da7e8611
* Simplify the mem3.c memory allocator. Have it call sqlite3_release_memory()drh2007-10-20
| | | | | automatically, without having to specify the soft heap limit. (CVS 4496) FossilOrigin-Name: ca51b2f54076fcf73a8857aecf4b45d66ef0c7b6
* Fix a mutex leak in the new malloc-free memory allocator. (CVS 4494)drh2007-10-20
| | | FossilOrigin-Name: 30f014d3d0231a668c40508ff4a6b90ce622c857
* Added an experimental malloc-free memory allocation subsystem, intendeddrh2007-10-19
for use on embedded systems. Runs 7% faster than when using system malloc() on Linux. (CVS 4493) FossilOrigin-Name: 8487ca82fade60b9fa63abf74e10f6ebcb48b98e