/ History for src/mem3.c
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/mem3.c

2020-06-19
15:24
[30301196] part of check-in [7a876209] Extend the refactoring into extensions. Clean up stray newlines. (check-in: [7a876209] user: drh branch: trunk, size: 20197)
2015-10-15
16:20
[8768ac94] part of check-in [cb65989b] Performance optimizations to the sqlite3MallocSize() by requiring the argument to always be non-NULL. (check-in: [cb65989b] user: drh branch: trunk, size: 20237)
2011-07-07
08:19
[61c9d47b] part of check-in [a68b6580] Add a target to main.mk that will fail if the amalgamation contains any 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. (check-in: [a68b6580] user: dan branch: trunk, size: 20242)
2009-11-10
01:30
[9b237d91] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 20221)
2009-10-13
12:48
[805ab642] part of check-in [16254ad5] Make sure mem3.c releases its mutex on an sqlite3_shutdown() call. (check-in: [16254ad5] user: drh branch: trunk, size: 20284)
2008-11-19
16:52
[67153ec9] part of check-in [d1abe8a1] Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927) (check-in: [d1abe8a1] user: danielk1977 branch: trunk, size: 20266)
14:35
[5644d8eb] part of check-in [70b2f683] Fix a few more compiler warnings. (CVS 5926) (check-in: [70b2f683] user: danielk1977 branch: trunk, size: 20229)
2008-09-02
17:52
[1594f117] part of check-in [88bfdc87] Explicitly initialize at least the first field of every struct. This is to work around compilers that don't like the syntax "struct XXX { ... } yyy = {};". (CVS 5666) (check-in: [88bfdc87] user: danielk1977 branch: trunk, size: 20171)
10:22
[0d9341b0] part of check-in [46acaf58] Change some more global variables to work with OMIT_WSD. (CVS 5660) (check-in: [46acaf58] user: danielk1977 branch: trunk, size: 20161)
2008-09-01
18:34
[afb0ace2] part of check-in [573d92ab] Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652) (check-in: [573d92ab] user: danielk1977 branch: trunk, size: 20088)
2008-07-18
18:56
[c73e935d] part of check-in [5c22132e] Use the actual size of memory allocations to update the memory status counters. Fix the roundup() function of mem3 to be much closer to the actual allocation size. Ticket #3226. (CVS 5440) (check-in: [5c22132e] user: drh branch: trunk, size: 20044)
2008-07-16
12:25
[71e43d6b] part of check-in [a3a78205] Activate testing of mem3 and mem5. Fix problems found. Tickets #3223 and #3225. Other test configuration changes. (CVS 5419) (check-in: [a3a78205] user: drh branch: trunk, size: 20059)
2008-06-27
14:05
[abaf65e3] part of check-in [fef90a21] Fix mem3.c (broken by (5320)). (CVS 5321) (check-in: [fef90a21] user: danielk1977 branch: trunk, size: 20054)
2008-06-25
14:57
[8d34a226] part of check-in [9e3c95ff] Have mem3.c and mem5.c grab a mutex when required. Include them both in the amalgamation again. (CVS 5306) (check-in: [9e3c95ff] user: danielk1977 branch: trunk, size: 20056)
10:34
[8ecfb0a6] part of check-in [9c6c8e01] Fix up some details to do with the mem3.c (memsys3) allocator. If the library is compiled with SQLITE_ENABLE_MEMSYS3, the memsys3 allocator can be selected at runtime. (CVS 5303) (check-in: [9c6c8e01] user: danielk1977 branch: trunk, size: 20012)
2008-06-24
19:02
[62bb1344] part of check-in [3febef54] Modify the memory allocation system in mem3.c so to fit in with the new sqlite3_mem_methods scheme. At this point it only "mostly" works. (CVS 5297) (check-in: [3febef54] user: danielk1977 branch: trunk, size: 19629)
2008-06-18
17:09
[28b4812b] part of check-in [5059644c] Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) (check-in: [5059644c] user: danielk1977 branch: trunk, size: 19130)
2008-06-13
18:24
[617c2e2a] part of check-in [a03c5af1] Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) (check-in: [a03c5af1] user: drh branch: trunk, size: 19124)
2008-02-19
15:15
[52547678] part of check-in [94774b41] Change non-exported memory interfaces to following the naming conventions. (CVS 4797) (check-in: [94774b41] user: drh branch: trunk, size: 19018)
2008-02-14
23:26
[97919167] part of check-in [669ece8c] Add the experimental mem5.c memory allocator. Allocate the content part of cache pages separately from the header. (See check-ins (4495) and (4409)). (CVS 4789) (check-in: [669ece8c] user: drh branch: trunk, size: 19020)
15:31
[4ca65028] part of check-in [aca2bee8] Fix some VdbeMemCopy() related problems. (CVS 4787) (check-in: [aca2bee8] user: danielk1977 branch: trunk, size: 19132)
2008-02-13
18:25
[cf1bf5b2] part of check-in [990237e2] Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) (check-in: [990237e2] user: danielk1977 branch: trunk, size: 19076)
2007-12-29
13:18
[9d80034b] part of check-in [d027f91c] Mem3.c enhanced so that an allocation of N bytes only requires (N+11)&~7 bytes 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) (check-in: [d027f91c] user: drh branch: trunk, size: 19063)
2007-11-29
18:36
[34ffb9f7] part of check-in [cfd683ac] Add the optional (and experimental) mmap() memory allocator in the mem4.c module. (CVS 4581) (check-in: [cfd683ac] user: drh branch: trunk, size: 17636)
2007-11-07
15:13
[a9857cf9] part of check-in [31eb4abc] Add asserts on sqlite3_mutex_held() to the zero-malloc memory allocator, in order to prove that the mutex is held when it is needed. (CVS 4534) (check-in: [31eb4abc] user: drh branch: trunk, size: 17538)
2007-10-20
16:36
[df13c608] part of check-in [b58c2b37] Add the new memory allocator to the amalgamation. Improvements to out-of-memory handling. (CVS 4498) (check-in: [b58c2b37] user: drh branch: trunk, size: 17106)
16:11
[232f658b] part of check-in [50db16be] Bug fix in the realloc algorithm of the static memory allocator. (CVS 4497) (check-in: [50db16be] user: drh branch: trunk, size: 16988)
15:41
[0a86f5a9] part of check-in [ca51b2f5] Simplify the mem3.c memory allocator. Have it call sqlite3_release_memory() automatically, without having to specify the soft heap limit. (CVS 4496) (check-in: [ca51b2f5] user: drh branch: trunk, size: 17000)
12:34
[6a9329f3] part of check-in [30f014d3] Fix a mutex leak in the new malloc-free memory allocator. (CVS 4494) (check-in: [30f014d3] user: drh branch: trunk, size: 17729)
2007-10-19
17:47
[6c3cc2d3] part of check-in [8487ca82] Added an experimental malloc-free memory allocation subsystem, intended for use on embedded systems. Runs 7% faster than when using system malloc() on Linux. (CVS 4493) (check-in: [8487ca82] user: drh branch: trunk, size: 17691) Added