aboutsummaryrefslogtreecommitdiff
path: root/src/test_malloc.c
Commit message (Collapse)AuthorAge
...
* Add SQLITE_STATUS_PAGECACHE_SIZE and SQLITE_STATUS_SCRATCH_SIZE. (CVS 5537)drh2008-08-05
| | | FossilOrigin-Name: c4e9b824062ba82a8db01cd82e3e681de1940208
* Separate verbs of sqlite3_config() and sqlite3_db_config() into theirdrh2008-08-04
| | | | | | own namespaces. Allow SQLITE3_DBCONFIG_LOOKASIDE to specific an external memory buffer. (CVS 5536) FossilOrigin-Name: 5dd865da5e787c10ef4c9e96647724bfab9dea01
* Test cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518)drh2008-08-01
| | | FossilOrigin-Name: 6a6b94302acdfe6404b04bff1cc8d16c1ef69df9
* Change the definition of SQLITE_CONFIG_PAGECACHE anddrh2008-07-31
| | | | | | SQLITE_CONFIG_SCRATCH to omit the magic "+4" in the buffer size calculation. (CVS 5512) FossilOrigin-Name: e7ed0fe640a39053009eac52a7f055b121750e57
* Enhancements to the pagecache malloc test configuration. Changes to thedrh2008-07-29
| | | | | speed test scripts to use the new test enhancements. (CVS 5494) FossilOrigin-Name: 0ce39c21f32958ae53c00dc8bbf8cdd453f2d90e
* Implement the "lookaside" memory allocation cache. Use of this cache makesdrh2008-07-28
| | | | | | the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
* Add the capability to track the maximum depth of the LALR(1) parser stackdrh2008-07-25
| | | | | | so that critical applications can check to see if they are getting close to limits. (CVS 5481) FossilOrigin-Name: ef0250f3dc769a4acd534f31fa06d90922d4145b
* Updates to mem6.c allocator. (CVS 5473)danielk19772008-07-25
| | | FossilOrigin-Name: 43a4cae2acea33d1a17c0037516e9c27fb7e8e91
* Add mem6.c, a new allocator. More to come. (CVS 5467)danielk19772008-07-24
| | | FossilOrigin-Name: 192bc192185a7b475ef9331e2a4a0dc68083ec03
* Activate testing of mem3 and mem5. Fix problems found. Tickets #3223drh2008-07-16
| | | | | and #3225. Other test configuration changes. (CVS 5419) FossilOrigin-Name: a3a7820540f6f2285e6c83cac84383fc7d60d267
* Additional test coverage for the btree module. Remove the failsafe() macrodrh2008-07-11
| | | | | and replace it with ALWAYS() and NEVER(). (CVS 5395) FossilOrigin-Name: d7e2f0d2d45574d6191c1b191c0daf5260696f27
* Enhancements to the testing logic for malloc and mutex. Only permit onedrh2008-07-10
| | | | | | of MEMSYS3/5 to be compiled-in at a time. Omit the SQLITE_CONFIG_MEMSYS3/5 configuration options. (CVS 5389) FossilOrigin-Name: ed8b2525006ae7f8cacd01b291760513fdbdff57
* Test coverage improvements on printf. (CVS 5385)drh2008-07-09
| | | FossilOrigin-Name: 2d8f7bebf0f13f3a95f1e2163e35d43229cabfea
* Begin adding the failsafe() macro. (CVS 5383)drh2008-07-09
| | | FossilOrigin-Name: 8aae4fe7e702b7636fba1fd609a0ca22fdcc3371
* Fix mem3.c (broken by (5320)). (CVS 5321)danielk19772008-06-27
| | | FossilOrigin-Name: fef90a21aea11f15371d3fcf44548d786dd8819b
* Change mem5.c so that the minimum allocation size is runtime configurable. ↵danielk19772008-06-27
| | | | | (CVS 5320) FossilOrigin-Name: 4f95f4cdf77e134fab42148e10198c7b008d4ae6
* Fix the allocator in mem5.c so that it can be enabled at run time using the ↵danielk19772008-06-25
| | | | | sqlite3_config() function. (CVS 5304) FossilOrigin-Name: 30ff6bb0b2d1068d28e86ac90bb9f454e4537a2d
* 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
* Add a mode to the sqlite3_test_control() interface to register hooks called ↵danielk19772008-06-20
| | | | | at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) FossilOrigin-Name: 56c8af1452dfdc8da858a2411bd6f3663a8a9326
* Move (almost all) malloc failure test logic from fault.c to test_malloc.c. ↵danielk19772008-06-20
| | | | | (CVS 5253) FossilOrigin-Name: 4ae21e3419ad7e69dd735ca45fdc5a2de93d1840
* Move the malloc() failure simulation out of malloc.c and into a separate ↵danielk19772008-06-19
| | | | | sqlite3_mem_methods interface. Still some related changes to come. (CVS 5250) FossilOrigin-Name: d22cd2a59f472f4eaf80aa9f55fbff2514ca428d
* Add some test logic to the new memory allocation subsystem. (Lots more needed.)drh2008-06-19
| | | | | | The test suite is currently indicating memory leaks, though it is unclear if this is a true code problem or just an instrumentation problem. (CVS 5240) FossilOrigin-Name: cb1f11cd9764cf0275e88e1f6342e366e5536bfd
* Added support for scratch-memory lookaside allocations. Largely untested.drh2008-06-18
| | | | | Added calls to sqlite3_initialize() within malloc APIs. (CVS 5237) FossilOrigin-Name: 383a78601c70cd832c171344857038e345b9ae5c
* Unused functions in testfixture.exe with certain defines. (CVS 5172)shane2008-05-29
| | | FossilOrigin-Name: 5e3ff1bb37f7fbdc9b1414232bd78f096f89eced
* Changes to the Mem structure to reduce the frequency of freeing and ↵danielk19772008-03-28
| | | | | reallocating the dynamic buffer. (CVS 4928) FossilOrigin-Name: d0bf73d81453da1d8e602e0445064d9f5e348063
* Patch to the new memory tracing logic that allows it to build even ifdrh2008-03-28
| | | | | memory debugging is turned off. (CVS 4927) FossilOrigin-Name: 0a9c63b227b9c6d2bd0e7b491245947ffc83c828
* If memory is leaked when running a test script with the --malloctrace ↵danielk19772008-03-28
| | | | | option, write out a file called leaks.sql in the same format as mallocs.sql containing th e leaked applications. The same tools can then be used to examine the stack traces associated with leaked allocations. (CVS 4926) FossilOrigin-Name: f1b97ed93183378ff56b4fe7ae8ea269c24092fc
* Use a vdbe memory cell to allocate the space required for vdbe cursors. (CVS ↵danielk19772008-03-25
| | | | | 4912) FossilOrigin-Name: 047153648155654b0cd70b811935209d2e21776c
* Add some more logging to the malloc system used when SQLITE_MEMDEBUG is ↵danielk19772008-03-21
| | | | | defined. (CVS 4901) FossilOrigin-Name: 79738f582fbac87f2d335e0c6b7f53e3054b41ba
* Minor test coverage enhancements. (CVS 4877)drh2008-03-18
| | | FossilOrigin-Name: edd207b9a9df5d73ec34474a4e90fcb592f06cf1
* Add the ability to simulate out-of-memory errors when using the defaultdrh2008-03-18
| | | | | memory allocator, mem1.c. Fix a bug that this enhancement revealed. (CVS 4875) FossilOrigin-Name: d55a5e1c11ef90534abd2e5f18d06dd4739ade70
* Change non-exported memory interfaces to following the naming conventions. ↵drh2008-02-19
| | | | | (CVS 4797) FossilOrigin-Name: 94774b41429c8bfa3582e30c09f414b9e5669575
* Add the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c.drh2008-02-18
| | | | | Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795) FossilOrigin-Name: 63da5d97542e4f54c33329833477c8d96ce05dd0
* The power-of-two first-fit memory allocator is now working. (CVS 4793)drh2008-02-16
| | | FossilOrigin-Name: d134d29cea971eb01a0e0fd94341ab79e2d5b57a
* Where possible, avoid freeing buffers allocated for vdbe memory cells in ↵danielk19772008-02-13
| | | | | case they can be reused. (CVS 4783) FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a
* Add the sqlite3_test_control() API. Use it to control the fault injector. ↵drh2008-01-31
| | | | | (CVS 4758) FossilOrigin-Name: 413ddade6a13f993cddc57389d1107d82fa19972
* Add the fault injector module in fault.c. Use it as a basis for memorydrh2008-01-22
| | | | | allocation failure testing. (CVS 4742) FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6
* 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
* Fixes to test code so that the test suite passes without SQLITE_MEMDEBUG ↵danielk19772007-09-03
| | | | | defined. (CVS 4370) FossilOrigin-Name: ed2a2e0102c4fd2221096028d55a6f1d54f97274
* Check in extra fixes for malloc4.test. (CVS 4341)danielk19772007-08-30
| | | FossilOrigin-Name: 49ce3a838194f0316c883dbe1596d13c0c0fad1b
* Modifications to the malloc failure tests to test transient and persistent ↵danielk19772007-08-29
| | | | | failures. (CVS 4321) FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
* The win32 driver compiles but does not yet work well. Many bugsdrh2007-08-24
| | | | | fixed. (CVS 4282) FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
* Improvements to memory leak detection. The --backtrace=NNN option is nowdrh2007-08-23
| | | | | | | | recognized by tester.tcl. Memory leak summaries are automatically written to the file ./memleak.txt and each leak is tagged with the test in which it occurred. The quick.test script runs on Linux with no errors and no leaks. (CVS 4273) FossilOrigin-Name: 21f6b31097692171c6493e6ca6de6acbd62dc595
* All of the malloc test cases run. Still seeing failures in malloc4.test. ↵drh2007-08-22
| | | | | (CVS 4272) FossilOrigin-Name: 205d0b881d541db65837ce6cf44d58d607635bc2
* Enhancements and smoke testing of the new memory allocation subsystem.drh2007-08-15
| | | | | Have not yet cut it over to the core, though. (CVS 4230) FossilOrigin-Name: 1dad2c0a1f00596b13b02ccef664bd2346a677a4
* Test infrastructure for the new memory subsystem. (CVS 4229)drh2007-08-15
FossilOrigin-Name: 9e506656720fb3a3205b8cc398152272ce56f6f3