aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_allocator_block.c
Commit message (Expand)AuthorAgeFilesLines
* Be sure to initialize the jumbo flag when creating a new chunk header byEvan Huus2013-08-121-8/+15
* Reorder and group chunk header flags. Reduces the bit-twiddling needed by theEvan Huus2013-08-111-3/+5
* Split jumbo_free and jumbo_realloc into their own functions for readability andEvan Huus2013-08-111-13/+45
* Move the null check outside the function call. Simpler, and more efficient forEvan Huus2013-08-111-5/+3
* Little optimization: move two statements inside an if block.Evan Huus2013-08-111-3/+3
* Add support for allocating more than will fit in a single block, through the useEvan Huus2013-08-111-15/+94
* Instead of using a glib slist to track the list of blocks, embed a shortEvan Huus2013-08-111-51/+84
* Small optimization: the master-list and recycler cases are different enough thatEvan Huus2013-08-111-14/+22
* Enhance verification to assert that the recycler and master list contain allEvan Huus2013-08-091-12/+34
* One more chunk header alignment fix.Evan Huus2013-08-081-2/+2
* Make sure our chunk headers are large enough to correctly align the actual dataEvan Huus2013-08-081-7/+9
* When splitting a free chunk, if we don't have room for a free header don't evenEvan Huus2013-08-081-42/+29
* Combine two ternary ?: into a single if. Shaves about 1.5% off the fast timingEvan Huus2013-08-021-2/+8
* Small simplificationEvan Huus2013-08-021-3/+2
* Remove unnecessary null check.Evan Huus2013-08-021-4/+0
* Rewrite the merge_free routine to keep the merged chunk on the master free listEvan Huus2013-08-021-75/+80
* More little optimizations.Evan Huus2013-07-291-5/+3
* Another little optimization.Evan Huus2013-07-291-18/+11
* Fix a bug in the gc routine discovered while formally working out parts of theEvan Huus2013-07-281-11/+19
* Little optimizations.Evan Huus2013-07-281-6/+5
* Little things make big differences: somehow while I was experimenting thisEvan Huus2013-07-271-1/+3
* Small optimization: conjoin two mutually exclusive ifs with an else.Evan Huus2013-07-271-3/+4
* Simplify out an addition that happened a lot by performing it once on theEvan Huus2013-07-271-10/+8
* Redesign of the wmem block allocator.Evan Huus2013-07-271-298/+371
* whitespaceEvan Huus2013-07-261-2/+2
* Minor refactor: make the framework responsible for allocating and freeing theEvan Huus2013-05-221-17/+8
* Copy over a missing flag in the block allocator to fix the build-bot failureEvan Huus2013-03-271-1/+7
* Fix -Wshadow that happens with some old versions of gcc (not mine, for someEvan Huus2013-03-271-9/+9
* Greatly improve wmem tests, including random fuzz-style testing. ImproveEvan Huus2013-03-271-13/+26
* Fix a few small bugs in the block allocator and add some more assertions to itEvan Huus2013-03-241-9/+24
* Initial simple block allocator tests, not being run by default because they'reEvan Huus2013-03-241-23/+31
* From beroset:Bill Meier2013-03-201-8/+8
* Trivial tweaks to clean up cppcheck warnings.Evan Huus2013-03-201-2/+2
* More block allocator fixes and cleanup. Most of the issues seem to have beenEvan Huus2013-03-201-8/+44
* Add more and stricter wmem block allocator debug functions.Evan Huus2013-03-191-15/+38
* Minor improvements to block allocator debugging.Evan Huus2013-03-111-4/+5
* Glib docs recommend using the slice API if you know you won't need to realloc.Evan Huus2013-03-101-4/+4
* Add a debug function (ifdef'ed out by default) and fix another two bugs found byEvan Huus2013-03-081-1/+56
* Add another pair of assertions.Evan Huus2013-03-081-0/+2
* Should fix assertion failure seen by Anders on -dev.Evan Huus2013-03-081-1/+17
* Fix spelling/typos found using a list of commonly misspelled words.Bill Meier2013-02-261-2/+2
* Remove blocks from the free list when gc'ing them in wmem's block allocator.Evan Huus2013-02-231-2/+3
* Fix issue where using realloc() to shrink a chunk could result inEvan Huus2013-02-081-0/+3
* Add explicit casts to pacify MSVC buildbot.Evan Huus2013-02-081-6/+6
* Rewrite the block allocator to support the new wmem API (realloc, free, gc).Evan Huus2013-02-081-90/+600
* Add three more slots to the wmem allocater definition (not yet implementedEvan Huus2013-01-191-1/+5
* Make the alignment amount for the wmem block allocator into a #defineEvan Huus2012-12-271-4/+12
* Use 'new' instead of 'create' a consistent manner.Evan Huus2012-12-181-3/+3
* Put in a cast to silence a stupid MSVC warning.Evan Huus2012-12-081-1/+4
* Make sure the wmem block allocator returns aligned memory.Evan Huus2012-12-081-0/+17