summaryrefslogtreecommitdiff
path: root/Objects/obmalloc.c
AgeCommit message (Expand)AuthorLines
2003-06-17Whitespace normalization.Walter Dörwald-6/+6
2002-11-23Remove MALLOC_ZERO_RETURNS_NULL.Martin v. Löwis-2/+0
2002-10-26Patch #627105: Document that SYSTEM_PAGE_SIZE really should not beMartin v. Löwis-1/+4
2002-09-12Fix warnings on 64-bit platforms about casts from pointers to ints.Guido van Rossum-1/+1
2002-07-18Remove extraneous semicolon.Jeremy Hylton-1/+1
2002-07-10Documented PYMALLOC_DEBUG. This completes primary coverage of all theTim Peters-1/+1
2002-05-02PyObject_Realloc(): If a small block is shrinking, bite the expense ofTim Peters-5/+16
2002-04-28_PyObject_DebugCheckAddress(): If the leading pad bytes are corrupt,Tim Peters-18/+25
2002-04-18_PyObject_DebugMallocStats(): Added some potentially expensive internalTim Peters-5/+41
2002-04-18PyObject_Malloc: make a tiny bit faster for platforms where malloc(0)Tim Peters-2/+9
2002-04-18Remove some long-disabled debugging boilerplate.Tim Peters-26/+0
2002-04-13_PyObject_DebugDumpStats: renamed to _PyObject_DebugMallocStats.Tim Peters-4/+8
2002-04-12Small anal correctness tweaks:Tim Peters-2/+2
2002-04-12_PyObject_DebugRealloc(): rewritten to let the underlying realloc doTim Peters-27/+30
2002-04-12_PyObject_DebugDumpAddress(): clarify an output message.Tim Peters-1/+1
2002-04-12PYMALLOC_{CLEAN, DEAD, FORBIDDEN}BYTE symbols: remove the PYMALLOC_Tim Peters-34/+39
2002-04-12Move PyObject_Malloc and PyObject_Free here from object.c. RemoveNeil Schemenauer-61/+33
2002-04-11SF bug 542181: Realloc behaviorTim Peters-12/+16
2002-04-06Minor improvements to the stats output dump, including adding commas toTim Peters-10/+34
2002-04-05Repair an incomprehensible comment.Tim Peters-2/+2
2002-04-05_PyMalloc_DebugDumpStats(): vastly improved the output, and it nowTim Peters-21/+58
2002-04-05Widespread, but mostly in _PyMalloc_Malloc: optimize away all expensiveTim Peters-40/+39
2002-04-04_PyMalloc_Realloc(): removed a now-pointless cast.Tim Peters-1/+1
2002-04-04_PyMalloc_{Malloc, Realloc}: Strive to meet the doc's promises aboutTim Peters-42/+44
2002-04-01Fixed errors in two comments.Tim Peters-3/+4
2002-04-01Restructured my pool-management overview in terms of the threeTim Peters-19/+59
2002-04-01New PYMALLOC_DEBUG function void _PyMalloc_DebugDumpStats(void).Tim Peters-1/+97
2002-03-31Add one more assert that indirectly interlocking conditions are consistentTim Peters-0/+1
2002-03-31Fixed an error in a new assert.Tim Peters-1/+1
2002-03-31Fixed a typo in a new comment.Tim Peters-1/+1
2002-03-31_PyMalloc_Free(): As was already done for _PyMalloc_Malloc, rearrangedTim Peters-37/+47
2002-03-31Added a long-overdue comment block giving an overview of pool operationsTim Peters-3/+60
2002-03-30It's once again thought safe to call the pymalloc free/realloc with anTim Peters-14/+27
2002-03-30new_arena(): In error cases, reset the number of available pools to 0.Tim Peters-0/+1
2002-03-30Changed the #-of-arenas counters to uints -- no need to be insane aboutTim Peters-10/+11
2002-03-30Turns out the off_t macro isn't used anymore, so got rid of it.Tim Peters-3/+0
2002-03-30Now that we're no longer linking arenas together, there's no need toTim Peters-25/+21
2002-03-30Retract the claim that this is always safe if PyMem_{Del, DEL, Free, FREE}Tim Peters-0/+4
2002-03-30Lots of changes:Tim Peters-127/+225
2002-03-28Add missing "void" to function.Neil Schemenauer-1/+1
2002-03-28PYMALLOC_DEBUG routines: The "check API family" gimmick was going nowhereTim Peters-62/+34
2002-03-24_PyMalloc_DebugRealloc(): simplify decl of "fresh".Tim Peters-5/+15
2002-03-23Minor code cleanup -- no semantic changes.Tim Peters-22/+28
2002-03-23Give Python a debug-mode pymalloc, much as sketched on Python-Dev.Tim Peters-17/+315
2002-03-23Just whitespace fiddling.Tim Peters-10/+10
2002-03-23Build obmalloc.c directly instead of #include'ing from object.c.Tim Peters-0/+50
2002-03-22Remove malloc hooks.Neil Schemenauer-69/+0
2002-03-18Drop the PyCore_* memory API.Neil Schemenauer-21/+21
2002-03-18Simpilify PyCore_* macros by assuming the function prototypes forNeil Schemenauer-57/+21
2001-03-11Identifiers matching _[A-Z_]\w* are reserved for C implementations.Tim Peters-6/+6