/ File History
Login

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

History of src/mem3.c

2015-10-15
16:20
Performance optimizations to the sqlite3MallocSize() by requiring the argument to always be non-NULL. file: [8768ac94] check-in: [cb65989b] user: drh branch: trunk, size: 20237
2011-07-07
08:19
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. file: [61c9d47b] check-in: [a68b6580] user: dan branch: trunk, size: 20242
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [9b237d91] check-in: [f6c045f6] user: drh branch: trunk, size: 20221
2009-10-13
12:48
Make sure mem3.c releases its mutex on an sqlite3_shutdown() call. file: [805ab642] check-in: [16254ad5] user: drh branch: trunk, size: 20284
2008-11-19
16:52
Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927) file: [67153ec9] check-in: [d1abe8a1] user: danielk1977 branch: trunk, size: 20266
14:35
Fix a few more compiler warnings. (CVS 5926) file: [5644d8eb] check-in: [70b2f683] user: danielk1977 branch: trunk, size: 20229
2008-09-02
17:52
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) file: [1594f117] check-in: [88bfdc87] user: danielk1977 branch: trunk, size: 20171
10:22
Change some more global variables to work with OMIT_WSD. (CVS 5660) file: [0d9341b0] check-in: [46acaf58] user: danielk1977 branch: trunk, size: 20161
2008-09-01
18:34
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652) file: [afb0ace2] check-in: [573d92ab] user: danielk1977 branch: trunk, size: 20088
2008-07-18
18:56
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) file: [c73e935d] check-in: [5c22132e] user: drh branch: trunk, size: 20044
2008-07-16
12:25
Activate testing of mem3 and mem5. Fix problems found. Tickets #3223 and #3225. Other test configuration changes. (CVS 5419) file: [71e43d6b] check-in: [a3a78205] user: drh branch: trunk, size: 20059
2008-06-27
14:05
Fix mem3.c (broken by (5320)). (CVS 5321) file: [abaf65e3] check-in: [fef90a21] user: danielk1977 branch: trunk, size: 20054
2008-06-25
14:57
Have mem3.c and mem5.c grab a mutex when required. Include them both in the amalgamation again. (CVS 5306) file: [8d34a226] check-in: [9e3c95ff] user: danielk1977 branch: trunk, size: 20056
10:34
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) file: [8ecfb0a6] check-in: [9c6c8e01] user: danielk1977 branch: trunk, size: 20012
2008-06-24
19:02
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) file: [62bb1344] check-in: [3febef54] user: danielk1977 branch: trunk, size: 19629
2008-06-18
17:09
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) file: [28b4812b] check-in: [5059644c] user: danielk1977 branch: trunk, size: 19130
2008-06-13
18:24
Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) file: [617c2e2a] check-in: [a03c5af1] user: drh branch: trunk, size: 19124
2008-02-19
15:15
Change non-exported memory interfaces to following the naming conventions. (CVS 4797) file: [52547678] check-in: [94774b41] user: drh branch: trunk, size: 19018
2008-02-14
23:26
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) file: [97919167] check-in: [669ece8c] user: drh branch: trunk, size: 19020
15:31
Fix some VdbeMemCopy() related problems. (CVS 4787) file: [4ca65028] check-in: [aca2bee8] user: danielk1977 branch: trunk, size: 19132
2008-02-13
18:25
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) file: [cf1bf5b2] check-in: [990237e2] user: danielk1977 branch: trunk, size: 19076
2007-12-29
13:18
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) file: [9d80034b] check-in: [d027f91c] user: drh branch: trunk, size: 19063
2007-11-29
18:36
Add the optional (and experimental) mmap() memory allocator in the mem4.c module. (CVS 4581) file: [34ffb9f7] check-in: [cfd683ac] user: drh branch: trunk, size: 17636
2007-11-07
15:13
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) file: [a9857cf9] check-in: [31eb4abc] user: drh branch: trunk, size: 17538
2007-10-20
16:36
Add the new memory allocator to the amalgamation. Improvements to out-of-memory handling. (CVS 4498) file: [df13c608] check-in: [b58c2b37] user: drh branch: trunk, size: 17106
16:11
Bug fix in the realloc algorithm of the static memory allocator. (CVS 4497) file: [232f658b] check-in: [50db16be] user: drh branch: trunk, size: 16988
15:41
Simplify the mem3.c memory allocator. Have it call sqlite3_release_memory() automatically, without having to specify the soft heap limit. (CVS 4496) file: [0a86f5a9] check-in: [ca51b2f5] user: drh branch: trunk, size: 17000
12:34
Fix a mutex leak in the new malloc-free memory allocator. (CVS 4494) file: [6a9329f3] check-in: [30f014d3] user: drh branch: trunk, size: 17729
2007-10-19
17:47
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) file: [6c3cc2d3] check-in: [8487ca82] user: drh branch: trunk, size: 17691 Added