| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | merge trunk | jan.nijtmans | 2017-01-16 | 1 | -10/+35 |
| |\ | |||||
| | * | Introduce new function TclInitThreadAlloc(), symmetric with ↵notifier | jan.nijtmans | 2017-01-13 | 1 | -11/+35 |
| | |\ | | | | | | | | | | TclFinalizeThreadAlloc() | ||||
| | * | | Patch from Zoran Vasiljevic, fix for missing proper initialization of the ↵ | jan.nijtmans | 2017-01-13 | 1 | -0/+1 |
| | |/ | | | | | | | threaded allocator in some situations. | ||||
| * | | More internal use of size_t. Eliminate unused "isBin" argument from ↵ | jan.nijtmans | 2016-12-01 | 1 | -4/+4 |
| | | | | | | | | | TclpSysAlloc() | ||||
| * | | merge trunk | jan.nijtmans | 2016-10-11 | 1 | -3/+3 |
| |\ \ | |/ | |||||
| | * | Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread exists | jan.nijtmans | 2016-10-11 | 1 | -3/+3 |
| | |\ | |||||
| * | \ | merge trunk | jan.nijtmans | 2015-09-29 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Align comment. Remove some end-of-line spacing. No functional changes. | jan.nijtmans | 2015-09-28 | 1 | -1/+1 |
| | |\ \ | | |/ | |||||
| * | | | merge trunk | jan.nijtmans | 2015-04-29 | 1 | -21/+98 |
| |\ \ \ | |/ / | |||||
| | * | | Reduce the list walking by keeping lastPtr fields.zippy_fifo | dgp | 2015-04-16 | 1 | -28/+35 |
| | | | | |||||
| | * | | Revise the zippy dance that pushes Blocks and Tcl_Objs back the shared pool | dgp | 2015-04-15 | 1 | -15/+85 |
| | | | | | | | | | | | | | | | | | | | so that the overal operation remains a FIFO. This help preserve cache locality where it exists. The price (for now) is a bit more time walking to the end of free lists. If this is important, the addition of a lastPtr field could fix it without difficulty. | ||||
| * | | | merge trunk | jan.nijtmans | 2014-09-17 | 1 | -1/+2 |
| |\ \ \ | |/ / | |||||
| | * | | [132fad6fde]. Fixed GetCache to use TclpSysAlloc+memset instead | ashok | 2014-09-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | of calloc. Now consistent with tclWinThrd.c which no longer uses malloc in its TclpSysAlloc implementation. | ||||
| * | | | merge trunk | jan.nijtmans | 2014-09-01 | 1 | -8/+8 |
| |\ \ \ | |/ / | |||||
| | * | | Use TclpSys* macros, not direct system calls. | dgp | 2014-08-29 | 1 | -8/+8 |
| | | | | |||||
| * | | | merge trunk | jan.nijtmans | 2014-05-01 | 1 | -0/+27 |
| |\ \ \ | |/ / | |||||
| | * | | [3493120] Plug memory leak in thread exit. | dgp | 2014-04-24 | 1 | -0/+27 |
| | |\ \ | | |/ | |||||
| | | * | Memory leak after thread exit, fixed (alloc cache released by exit), belong ↵ | sebres | 2014-04-22 | 1 | -0/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | to ticket [3493120] Moved over to branch bug-3493120. This is not ready for the core-8-5-branch. Segfaults all over the place in a thread-enabled build on a CentOS system. | ||||
| * | | | merge trunk | jan.nijtmans | 2013-02-03 | 1 | -6/+6 |
| |\ \ \ | |/ / | |||||
| | * | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -6/+6 |
| | |\ \ | | |/ | |||||
| | | * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -6/+6 |
| | | | | | | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
| | | * | silence more warnings | dgp | 2011-11-01 | 1 | -0/+4 |
| | | | | |||||
| * | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵ | jan.nijtmans | 2012-08-20 | 1 | -1/+1 |
| |/ / | | | | | | | for te compiler. | ||||
| * | | Reduce amount of unreachable code. Refactor Win socket and load code to be less | dkf | 2012-04-05 | 1 | -8/+0 |
| | | | | | | | baroque in its internals. | ||||
| * | | TclClockOldscanObjCmd: More generation of errorCode information. | dkf | 2011-03-31 | 1 | -0/+0 |
| | | | |||||
| * | | Restored C++ usability to the memory allocation and free macros. | dgp | 2011-03-24 | 1 | -0/+0 |
| | | | |||||
| * | | Ensure that any reference to temporary index tables is squelched immediately | dkf | 2011-03-24 | 1 | -0/+0 |
| |\ \ | |/ | | | rather than hanging around to trip us up in the future. | ||||
| * | | simpler initialization of Cache under HAVE_FAST_TSD, from mig-alloc-reform. | mig | 2011-03-22 | 1 | -4/+2 |
| | | | |||||
| * | | * generic/tclThreadAlloc.c: imported HAVE_FAST_TSD support from ↵ | mig | 2011-03-20 | 1 | -20/+29 |
| | | | | | | | | | mig-alloc-reform. The feature has to be enabled by hand: no autoconf support has been added. It is not clear how universal a build using this will be: it also requires some loader support. | ||||
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ \ | |/ | | | cause more harm than good. Purged them (except in zlib files). | ||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
| | |\ | | | | | | | more harm than good. Purged them. | ||||
| | | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | | | | | more harm than good. Purged them. | ||||
| | | * | fix typos | das | 2009-10-05 | 1 | -3/+3 |
| | | | | |||||
| | | * | * generic/tclAlloc.c: Cleaned up various routines in the | dgp | 2009-09-28 | 1 | -3/+27 |
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclParse.c: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796]. | ||||
| | | * | * generic/tclAlloc.c: on Darwin, ensure memory allocated by | das | 2007-06-29 | 1 | -37/+44 |
| | | | | | | | | | | | | | | | | * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc). | ||||
| | | * | Use %ld instead of %d in Tcl_GetMemoryInfo | dkf | 2005-12-20 | 1 | -9/+9 |
| | | | | |||||
| | | * | Modified TclFinalizeThreadAlloc() to explicitly call | vasiljevic | 2005-04-07 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | TclpFreeAllocCache with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator. Part of fixing the Tcl Bug #1178445. | ||||
| | | * | * generic/tclAlloc.c: Fixed [Tcl SF Bug 1030548], a | andreas_kupries | 2004-10-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclThreadAlloc.c: threaded debug build on Windows * win/tclWinThrd.c: now works again. Had to touch Unix * unix/tclUnixThrd.c: as well. Basic patch by Kevin, with modifications by myself. | ||||
| | | * | * generic/tclThreadAlloc.c: Moved the tclInt.h include to provide | patthoyts | 2004-07-25 | 1 | -4/+4 |
| | | | | | | | | | | | | | Tcl_Panic which is now required for non-threaded build. | ||||
| | | * | * generic/tclEvent.c: Correct threaded obj allocator to | hobbs | 2004-07-21 | 1 | -1/+59 |
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c: | ||||
| | | * | fix bad cvs lf conversion | Joe Mistachkin | 2003-05-10 | 1 | -1/+2 |
| | | | | |||||
| | | * | fix for [Bug 731754] | Joe Mistachkin | 2003-05-10 | 1 | -5/+1 |
| | | | | |||||
| | * | | * generic/tclAlloc.c: Cleaned up various routines in the | dgp | 2009-09-29 | 1 | -3/+27 |
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796]. | ||||
| * | | | Code Audit results: | dkf | 2010-03-05 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations | ||||
| * | | | fix warning on LP64 | das | 2009-11-26 | 1 | -1/+5 |
| | | | | |||||
| * | | | * generic/tclAlloc.c: Cleaned up various routines in the | dgp | 2009-09-29 | 1 | -3/+27 |
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796]. | ||||
| * | | | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵ | dkf | 2009-01-09 | 1 | -7/+7 |
| | | | | | | | | | | | | | etc.) | ||||
| * | | | * generic/tclBasic.c: Made use of the thread's alloc cache | Miguel Sofer | 2008-07-29 | 1 | -3/+15 |
| |/ / | | | | | | | | | | | | | | | | | * generic/tclInt.h: stored in the ekeko at interp creation * generic/tclNRE.h: to avoid hitting the TSD each time an * generic/tclThreadAlloc.c: NRE callback is pushed or pulled; the approach is suitably general to extend to evry other obj allocation where an interp is know; this is left for some other time, requires a lot of grunt work. | ||||
| * | | Final clean up of the Tcl_GetMemoryInfo mess. | dkf | 2008-03-20 | 1 | -3/+26 |
| | | | |||||
| * | | Corrected scoping of Tcl_GetMemoryInfo. [Bug 1868171] | dkf | 2008-03-19 | 1 | -2/+2 |
| | | | |||||
