History log of /sqlite-3.40.0/src/mem5.c (Results 1 – 25 of 42)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release, version-3.50.2, version-3.50.1, major-release, version-3.50.0, version-3.49.2, patch-release, version-3.44.4, version-3.49.1, version-3.49.0, major-relase, relase, version-3.48.0, version-3.47.2, version-3.47.1, version-3.47.0, version-3.46.1, version-3.46.0, version-3.45.3, version-3.44.3, version-3.45.2, version-3.45.1, vesion-3.45.1, version-3.45.0, version-3.44.2, version-3.44.1, version-3.44.0, version-3.43.2, version-3.43.1, version-3.43.0, version-3.42.0, version-3.41.2, version-3.41.1, version-3.41.0, version-3.40.1, version-3.40.0, version-3.39.4, version-3.39.3, version-3.39.2, version-3.39.1, version-3.39.0, version-3.38.5, version-3.38.4, relese, version-3.38.3
# f5a8386c 28-Mar-2022 drh <>

Performance optimization in the memsys5 memory allocator.

FossilOrigin-Name: 949133231f8f751aa86518d0d3f6f03d7827fec085bfef3929fa3d57369d0216


Revision tags: version-3.38.2, version-3.38.1, version-3.38.0, version-3.37.2, version-3.37.1, version-3.37.0, version-3.36.0, version-3.35.5, version-3.35.4, version-3.35.3, same-as-3.35.3, version-3.35.2, version-3.35.1, version-3.35.0, patch, version-3.34.1, version-3.34.0, version-3.33.0, version-3.32.3, version-3.32.2, version-3.32.1, version-3.32.0, version-3.31.1, version-3.31.0, version-3.30.1, version-3.30.0, version-3.29.0, version-3.28.0, version-3.27.2, version-3.27.1, version-3.27.0, version-3.26.0, version-3.25.3, version-3.25.2, version-3.25.1, version-3.25.0, version-3.24.0, version-3.23.2, version-3.23.1, version-3.23.0, version-3.22.0, version-3.21.0, version-3.20.1, version-3.19.4, version-3.20.0, version-3.18.2, version-3.18.1, version-3.19.3, version-3.19.2, version-3.19.1, version-3.19.0, version-3.18.0, version-3.17.0, version-3.16.2, version-3.16.1, version-3.16.0, version-3.15.2, version-3.15.1, version-3.15.0, version-3.14.2, version-3.14.1, version-3.14.0, version-3.13.0, version-3.12.2, version-3.12.1, version-3.9.3, version-3.12.0, version-3.11.1, version-3.11.0
# d0d0f8dc 25-Jan-2016 drh <[email protected]>

Small simplification and performance improvement in memsys5Free().

FossilOrigin-Name: 0a9cff5c4822874b74e90bfca3963bc7e5c753a5


Revision tags: version-3.10.2, version-3.10.1
# c9d6d1b6 07-Jan-2016 drh <[email protected]>

Omit performance tracking from the memsys5 memory allocator if neither
SQLITE_DEBUG nor SQLITE_TEST are defined.

FossilOrigin-Name: af5c7714e993f060841f1e893f754ddf3870e6d0


Revision tags: version-3.10.0
# d319b8c1 18-Dec-2015 drh <[email protected]>

Micro-optimizations and comment fixes on the mem5.c memory allocator module.

FossilOrigin-Name: 8bf5e056eb8beb6e0ed5874fb24d7fe9f0b66d2b


# 62aaa6ca 21-Nov-2015 drh <[email protected]>

Fix over-length source code lines. No logic changes.

FossilOrigin-Name: 198d191b2f5ef7d63ac0093c701955c9052fd734


Revision tags: version-3.9.2, version-3.9.1
# 039ca6ab 15-Oct-2015 drh <[email protected]>

Performance optimizations to the sqlite3MallocSize() by requiring the
argument to always be non-NULL.

FossilOrigin-Name: cb65989b0710c65e4df69063b346344fdb1d12c7


Revision tags: version-3.9.0, version-3.8.11.1, version-3.8.11, version-3.8.10.2, version-3.8.10.1, version-3.8.10, version-3.8.9, version-3.8.8.3, version-3.8.8.2, version-3.8.8.1, version-3.8.8, version-3.8.7.4, version-3.8.7.3, version-3.8.7.2, version-3.8.7.1, version-3.8.6.1, version-3.8.7
# 60ec914c 06-Sep-2014 peter.d.reid <[email protected]>

Fix typos in comments. No code changes.

FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69


Revision tags: version-3.8.6, version-3.8.5, version-3.8.4.3
# b6635878 31-Mar-2014 drh <[email protected]>

Avoid a (harmless) buffer overread that is possible on an OOM when
MEMSYS5 is engaged.

FossilOrigin-Name: b3296267fb67b9f59719a37093253062edde3746


Revision tags: version-3.8.4.2, version-3.8.4.1, version-3.8.4
# 9d41bc10 24-Feb-2014 drh <[email protected]>

In memsys5, initialize new allocations to non-zero bytes. Change the content
of freed allocations to prevent use after free. These changes in SQLITE_DEBUG
only.

FossilOrigin-Name: ba5f0a5599dece6d

In memsys5, initialize new allocations to non-zero bytes. Change the content
of freed allocations to prevent use after free. These changes in SQLITE_DEBUG
only.

FossilOrigin-Name: ba5f0a5599dece6d8f3dfe652800c28875c74a24

show more ...


Revision tags: version-3.8.3.1, version-3.8.3, version-3.8.2
# 3f9cd2ae 03-Dec-2013 mistachkin <[email protected]>

Fix harmless compiler warnings.

FossilOrigin-Name: a12d214ecccc5d3372dbcedc88705b0092363971


# 9948e956 23-Nov-2013 drh <[email protected]>

A much simpler fix is to simply change MEMSYS5 so that it takes any free
block of the appropriate size (the first on the list of free blocks) rather
than searching for the one with the smallest addre

A much simpler fix is to simply change MEMSYS5 so that it takes any free
block of the appropriate size (the first on the list of free blocks) rather
than searching for the one with the smallest address. This is also faster
than using the min-heap algorithm. Need to research to verify that the
allocator still satisfies the Robson proof, however.

FossilOrigin-Name: 8191b512122c13d7fa61d8e5487652f13ec172f7

show more ...


Revision tags: version-3.8.1, version-3.8.0.2, version-3.8.0.1, version-3.8.0
# 3dfaf676 14-Aug-2013 mistachkin <[email protected]>

Fix a few more minor comment typos. No changes to code.

FossilOrigin-Name: 9e999081a59b161a0a1f968fbc01a1db9ea43b93


Revision tags: version-3.7.17, version-3.7.16.2, version-3.7.16.1, version-3.7.16, version-3.7.15.2, version-3.7.15.1, version-3.7.15, version-3.7.14.1, version-3.7.14, version-3.7.13, version-3.7.12.1, version-3.7.12, mountain-lion, version-3.7.11, version-3.7.10, version-3.7.9, version-3.7.8, version-3.7.7.1, version-3.7.7, version-3.7.6.3, version-3.7.6.2, version-3.7.6.1, version-3.7.6
# fcd71b60 05-Apr-2011 drh <[email protected]>

Suppress many harmless compiler warnings, mostly signed/unsigned comparisons
within asserts or unused parameters in extensions.

FossilOrigin-Name: 3eeb0ff78d04891b5fd1a3d99a9fb8cfbed77a81


# 9324794e 10-Mar-2011 shaneh <[email protected]>

Minor clean-up of previous mem5 allocator fix.

FossilOrigin-Name: 3643842316239ff7859f0ec522736a2b9c03d22c


# a6ec892b 09-Mar-2011 shaneh <[email protected]>

Fix issue with mem5 allocator when min request size is larger thatn 2^30.

FossilOrigin-Name: d7dae06fb2d57ed6b9555b774712f42077ae4155


Revision tags: version-3.7.5, version-3.7.4, experimental
# 9f129f46 31-Aug-2010 drh <[email protected]>

Add evidence mark comments to source code. Add additional information to the
documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c
that was discovered while writing requirem

Add evidence mark comments to source code. Add additional information to the
documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c
that was discovered while writing requirements tests.

FossilOrigin-Name: 53b0c03fd33d2d8141fd386de5493fec64456042

show more ...


Revision tags: version-3.7.2
# af46dc12 24-Feb-2010 drh <[email protected]>

Add testcase() macros beside each sqlite3_log() call to make sure it is
tested with both logging enable and disabled.

FossilOrigin-Name: 1168763d2cd96acfa0488198e8bc82f0c4fa35a3


# 413c3d36 23-Feb-2010 drh <[email protected]>

Continuing improvements to error reporting and the sqlite3_log() routine.

FossilOrigin-Name: edea3bb740ddd096a46e00678b59d465bb1e2903


Revision tags: fts3-refactor
# daf4a9f3 20-Aug-2009 drh <[email protected]>

Simplifications to the range-scan logic in support of structural testing.

FossilOrigin-Name: bbbee81075d923be7ca11e6e635c069a05d1605a


# 1b25753b 18-Aug-2009 drh <[email protected]>

Move the allocation of the memsys5 mutex into the initializer.

FossilOrigin-Name: 4e377a09c194e90581ef00fd3a213e936b4e648a


# 7c6791c8 18-Aug-2009 drh <[email protected]>

Fix obscure issues with the memsys5 memory allocator. Arrange that the
xRealloc() interface to memory allocators is only called with a value
that has been through xRoundup().

FossilOrigin-Name: 577

Fix obscure issues with the memsys5 memory allocator. Arrange that the
xRealloc() interface to memory allocators is only called with a value
that has been through xRoundup().

FossilOrigin-Name: 577bd6f15556b7f6d86ee5167353fdd535577bf6

show more ...


# 15385ad4 18-Aug-2009 drh <[email protected]>

When shutting down the memsys5 memory allocator, be sure to clear the mutex
pointer in case the next startup does not use a mutex because it is configured
differently.

FossilOrigin-Name: d4e7e2d8232

When shutting down the memsys5 memory allocator, be sure to clear the mutex
pointer in case the next startup does not use a mutex because it is configured
differently.

FossilOrigin-Name: d4e7e2d82321c12fe471ed49098828bc0ef78543

show more ...


# 4c5514d7 18-Aug-2009 drh <[email protected]>

Fix a bug in mem5.c which would cause an infinite loop on an attempt
to allocate more than 1073741824 bytes of contiguous memory. Also, some
cleanup of mem5.c. More work to do on this.

FossilOrigi

Fix a bug in mem5.c which would cause an infinite loop on an attempt
to allocate more than 1073741824 bytes of contiguous memory. Also, some
cleanup of mem5.c. More work to do on this.

FossilOrigin-Name: 783b751a38f9f911c5ebdf738c255b7111978f76

show more ...


Revision tags: cvs-to-fossil-cutover, version-3.6.15, version-3.6.10
# f3d3c27a 19-Nov-2008 danielk1977 <[email protected]>

Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927)

FossilOrigin-Name: d1abe8a1c9a990b02c71d6c249436381c9fde443


# a03396aa 19-Nov-2008 danielk1977 <[email protected]>

Fix a few more compiler warnings. (CVS 5926)

FossilOrigin-Name: 70b2f6839ca97dfc08f72875283f5c75c8fcf0cc


12