Tcl Source Code

All files named "generic/tclThreadAlloc.c"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for generic/tclThreadAlloc.c

2023-04-12
14:25
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [405ce53626] check-in: [d65da06a77] user: pooryorick branch: main, size: 28370
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [c388fe9ca9] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 29018
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [00ebfa3cbe] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 28386
2023-04-04
20:50
more progress file: [8ba1581c71] check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 28392
2023-03-30
22:22
Merge 8.7 file: [52cc628622] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 28371
22:02
Merge 8.6 file: [d494a6362b] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 29019
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: [45e3d6c016] check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 28387
2021-03-16
09:26
Merge 8.7 file: [22007c615f] check-in: [3dee9dd236] user: jan.nijtmans branch: main, size: 28343
09:16
Fix gcc warnings file: [1281b1d47a] check-in: [999522b785] user: jan.nijtmans branch: core-8-branch, size: 28991
2021-02-26
15:17
Merge 8.7 file: [8adcec7959] check-in: [3fd3a98b5c] user: jan.nijtmans branch: main, size: 28326
14:52
Further internal variable upgrade from long -> size_t file: [087bebef7e] check-in: [c08e73d3e7] user: jan.nijtmans branch: core-8-branch, size: 28974
13:27
Merge 8.7 file: [bd4d98a289] check-in: [5982d297e1] user: jan.nijtmans branch: main, size: 28308
13:18
Increase some (internal) variables from int/long to long/size_t. On the way to allow bigger blocks in the threaded allocator file: [bfa8b4dc44] check-in: [8d2a80f85c] user: jan.nijtmans branch: core-8-branch, size: 28917
2020-12-08
15:42
Merge 8.7 file: [eb5e1b7cc3] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 28403
15:31
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet file: [086682c6e4] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 28916
2020-11-26
14:43
Get rid of "register" keyword, forbidden in c++20. Fix some more warnings, discovered in c20/c++20 mode file: [c5363d065c] check-in: [d7c6ee4392] user: jan.nijtmans branch: core-8-6-branch, size: 28359
2020-03-31
20:29
Merge 8.7 file: [f821ca0fbb] check-in: [2807f77d52] user: jan.nijtmans branch: trunk, size: 28404
20:28
Fix a few warning-message in --enable-symbols-mem mode file: [cebde5c9d9] check-in: [211e192cb0] user: jan.nijtmans branch: core-8-branch, size: 28917
2020-03-17
01:20
merge 8.7 file: [1d876b5124] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 28397
01:01
TIP 569 - remove lint comments file: [d230d1dd95] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 28910
2020-03-09
13:08
Merge 8.7 file: [76a951d041] check-in: [8a76d170c1] user: jan.nijtmans branch: trunk, size: 28408
12:31
More TCL_UNUSED file: [701a76fc88] check-in: [bfd792d6c8] user: dgp branch: core-8-branch, size: 28921
2020-03-07
16:03
Merge 8.7 file: [f7b0cf552b] check-in: [0b1067b090] user: jan.nijtmans branch: trunk, size: 28425
15:55
Change (interal) function signature of TclpAlloc/TclpRealloc/TclpFree, using (void *) in stead of (char *) file: [d95120e3b5] check-in: [b56451f9c1] user: jan.nijtmans branch: core-8-branch, size: 28938
2020-02-28
12:46
Merge 8.7 file: [d5e4cf9173] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 28442
2019-09-14
21:52
Merge 8.7 file: [8a6fd424e6] check-in: [6f27e2ad0a] user: jan.nijtmans branch: cplusplus, size: 28955
12:37
Merge 8.7 file: [310cd7cf0a] check-in: [012848732e] user: jan.nijtmans branch: trunk, size: 28292
2019-09-05
15:14
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings file: [f12f0a8787] check-in: [48b1783ecd] user: jan.nijtmans branch: cplusplus, size: 28954
2019-08-26
09:07
Merge 8.7 file: [76b50f2204] check-in: [18c8da1615] user: jan.nijtmans branch: initsubsystems, size: 28805
2019-08-15
15:20
Merge tip-548 file: [546620ceab] check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 28933
08:10
Merge 8.7 file: [cbc422124c] check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 28291
2019-07-17
15:38
Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated in C++ (removed in C++17, even), and essentially does nothing with most modern compilers. file: [330baa5148] check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 28804
2019-07-04
06:54
Experiment: compile Tcl with C++ compiler. WIP file: [48124cacb8] check-in: [99d5f9c948] user: jan.nijtmans branch: cplusplus, size: 29032
2019-06-07
15:25
Merge 8.7 file: [ca80e80f0d] check-in: [12da6c8acd] user: jan.nijtmans branch: trunk, size: 28390
2019-03-29
17:57
Minor code cleanup: More use of size_t where possible, and elimination of unneeded type-casts. file: [c8acfb0e34] check-in: [2269af324f] user: jan.nijtmans branch: trunk, size: 28390
2019-03-13
20:44
Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles warning-free now on MSVC. file: [80c0557dd7] check-in: [cf865c6e2b] user: jan.nijtmans branch: trunk, size: 28994
2018-12-11
20:02
Merge 8.7 In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments. file: [2f1a1a0733] check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 28984
2018-12-08
17:16
Merge 8.7 Bring back Tcl_InitSubsystems to what Tcl_InitSubsystems was: without additional parameters or additional functionality file: [fef95eedf5] check-in: [ceb5ca35ee] user: jan.nijtmans branch: initsubsystems, size: 28904
2018-05-23
20:09
merge trunk file: [27baf15aea] check-in: [1a6fcb9bdc] user: jan.nijtmans branch: memory-API, size: 28852
19:41
merge trunk file: [b5e2e73ff7] check-in: [c78f328143] user: jan.nijtmans branch: novem, size: 28884
2018-05-22
20:57
merge 8.7 file: [4ce27d6d93] check-in: [b0fbde34ff] user: jan.nijtmans branch: trunk, size: 28896
20:53
Simplify usage of TCL_THREAD, along the lines of [eeddb0693a]. Suggested by DKF file: [2aae5eec5d] check-in: [bf06e36b25] user: jan.nijtmans branch: core-8-branch, size: 28903
2018-05-17
19:05
Merge 8.7, but keep TCL_THREADS undefined in tcl.h (since that's no longer necessary) file: [1238476c84] check-in: [f2c996cdb8] user: jan.nijtmans branch: trunk, size: 28923
18:53
TIP #491 implementation: Threading Support: phasing out non-threaded builds file: [19fdb82ba8] check-in: [e9ee6fc387] user: jan.nijtmans branch: core-8-branch, size: 28930
2017-12-01
13:53
merge core-8-branch. Various cleanup: unused structure names, unused #defines. Change some "epoch"-related fields from int to size_t. Nothing functional. file: [6b0c5dafe0] check-in: [6af217e68c] user: jan.nijtmans branch: trunk, size: 28905
2017-11-16
11:17
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming. file: [0ddfa0df06] check-in: [3cb46ea71b] user: jan.nijtmans branch: memory-API, size: 28868
2017-05-04
11:35
merge novem file: [3cc2a6c7c2] check-in: [70b0b53b8a] user: jan.nijtmans branch: novem-more-memory-API, size: 28861
2017-01-16
11:59
merge trunk file: [1a5e2c434f] check-in: [72fe4fc922] user: jan.nijtmans branch: novem, size: 28893
2017-01-13
14:43
Introduce new function TclInitThreadAlloc(), symmetric with TclFinalizeThreadAlloc() file: [1915f272ce] check-in: [39da38ff2f] user: jan.nijtmans branch: notifier, size: 28912
11:17
Patch from Zoran Vasiljevic, fix for missing proper initialization of the threaded allocator in some situations. file: [451fb6847a] check-in: [86d412ef6d] user: jan.nijtmans branch: notifier, size: 28485
2016-12-19
10:42
merge novem file: [4b98eb3dc2] check-in: [10c36e48f6] user: jan.nijtmans branch: novem-more-memory-API, size: 28407
2016-12-01
11:20
More internal use of size_t. Eliminate unused "isBin" argument from TclpSysAlloc() file: [cd4675f76c] check-in: [9d4cd6b1aa] user: jan.nijtmans branch: novem, size: 28439
2016-11-18
12:10
merge novem file: [c7bc3c1a5b] check-in: [21f9030029] user: jan.nijtmans branch: novem-more-memory-API, size: 28419
2016-10-11
21:53
merge trunk file: [0c76d5e93b] check-in: [d5f3db4df2] user: jan.nijtmans branch: novem, size: 28451
21:43
Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread exists file: [dd2d9ae274] check-in: [7a3c8a4b0d] user: jan.nijtmans branch: core-8-6-branch, size: 28458
2016-07-28
19:46
Remove left-over debugging code. file: [86b12f7a43] check-in: [7318d47029] user: pooryorick branch: pyk-listdictstringrep, size: 28470
2016-07-26
18:36
Converting to stringType no longer loses the existing internal representation of a value. file: [8194dd93d3] check-in: [acf65fb1a4] user: pooryorick branch: pyk-listdictstringrep, size: 28583
2016-01-27
11:59
remove TclSmallAlloc, was only used by expansion in tebc file: [bfc9669ff1] check-in: [364f484cfd] user: msofer branch: mig-opt2, size: 28491
2015-09-29
08:06
rebase with novem file: [aaf27ceef8] check-in: [2897092cfa] user: jan.nijtmans branch: novem-more-memory-API, size: 28430
07:56
merge trunk file: [268ac473ae] check-in: [771aa36a1e] user: jan.nijtmans branch: novem, size: 28462
2015-09-28
11:13
Align comment. Remove some end-of-line spacing. No functional changes. file: [b4b014c0a9] check-in: [fad573cac2] user: jan.nijtmans branch: trunk, size: 28469
2015-06-18
19:58
merge novem file: [d800d0b3ad] check-in: [8d9650ab81] user: jan.nijtmans branch: novem-more-memory-API, size: 28431
2015-04-29
21:51
merge trunk file: [78937acc7d] check-in: [c80897363f] user: jan.nijtmans branch: novem, size: 28463
2015-04-17
21:06
modify how many objs to move to the shared list, trying to avoid moving repeatedly in the case where cachePtr->numObjects is much much larger than NOBJHIGH file: [339b1ff807] check-in: [245873c364] user: msofer branch: mistake, size: 28725
2015-04-16
12:27
Reduce the list walking by keeping lastPtr fields. file: [b4ee9dcb83] check-in: [51052eab9b] user: dgp branch: zippy-fifo, size: 28470
2015-04-15
19:57
Revise the zippy dance that pushes Blocks and Tcl_Objs back the shared pool 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. file: [959b2bcc77] check-in: [ee5c16f99b] user: dgp branch: zippy-fifo, size: 28082
2014-09-17
13:16
merge trunk file: [e402dbbff5] check-in: [e483b90ad3] user: jan.nijtmans branch: novem, size: 26452
2014-09-06
13:19
Qsort gotcha: pointer difference is *not* a proper order unless computed in N+1 bits. Use explicit comparison instead. file: [2588b7466b] check-in: [a04fcb396e] user: ferrieux branch: nonmonotonic-obj-alloc, size: 27878
2014-09-05
20:42
merge trunk file: [022dae0228] check-in: [dee6e07687] user: ferrieux branch: nonmonotonic-obj-alloc, size: 27877
2014-09-03
15:48
[132fad6fde]. Fixed GetCache to use TclpSysAlloc+memset instead of calloc. Now consistent with tclWinThrd.c which no longer uses malloc in its TclpSysAlloc implementation. file: [09d09ef7ad] check-in: [da203cbda6] user: ashok branch: trunk, size: 26459
2014-09-01
08:19
merge trunk file: [18b8efc7e8] check-in: [aa7012d066] user: jan.nijtmans branch: novem, size: 26402
2014-08-29
17:33
Use TclpSys* macros, not direct system calls. file: [1abe7c453c] check-in: [4ca7fe7cf2] user: dgp branch: trunk, size: 26409
2014-08-14
16:32
Proof-of-concept of a nonmonotonic Tcl_Obj allocator, with zero perf impact and explicit ::tcl::unsupported::gc. Works with both threadAlloc and the older one. Disappointment: though it does free() the blocks, glibc is very reluctant to give back the pages to the OS :( file: [be8b4889ba] check-in: [86886e44d8] user: ferrieux branch: nonmonotonic-obj-alloc, size: 27769
2014-05-02
07:15
merge novem file: [c33418726a] check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 26309
2014-05-01
15:16
merge trunk file: [caa6ed285a] check-in: [ace047c40e] user: jan.nijtmans branch: novem, size: 26341
2014-04-24
04:34
[3493120] Plug memory leak in thread exit. file: [17ac4c02a9] check-in: [6b5f70a82f] user: dgp branch: trunk, size: 26348
2014-04-22
13:25
Memory leak after thread exit, fixed (alloc cache released by exit), belong 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. file: [f08799faaf] check-in: [c251d61424] user: sebres branch: bug-3493120, size: 26028

2013-09-26
13:13
merge novem

WARNING: No checks of build-ability done yet. file: [7d67cad1f1] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 25745

2013-09-10
18:46
[547989] Proposed implementation of the change described in the comments of the bug report. file: [f02a70c8e5] check-in: [942397a2a7] user: dkf branch: bug-547989, size: 25773
2013-02-03
17:17
merge novem file: [dc0ee37109] check-in: [f0ab71bc6c] user: jan.nijtmans branch: novem-more-memory-API, size: 25734
16:05
merge trunk file: [c46d5f6b99] check-in: [127b30eda5] user: jan.nijtmans branch: novem, size: 25766
2013-01-31
10:31
merge core-8-5-branch file: [6fd6c6f75b] check-in: [f9be79d941] user: jan.nijtmans branch: trunk, size: 25773
09:42
Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. file: [e74cd986af] check-in: [17354de1e8] user: jan.nijtmans branch: core-8-5-branch, size: 25453
2013-01-29
10:46
Change core to use repr->twoPtrValue.ptr1 in stead of repr->otherValuePtr (which is exactly the same), but also set repr->twoPtrValue.ptr2 to NULL explicitly. This allows repr->twoPtrValue.ptr2 to be used for another purpose (experimental): Store the StringObj internal representation there when available. file: [4ba02910eb] check-in: [4918a10d3d] user: jan.nijtmans branch: no-shimmer-string-length, size: 25598
2013-01-02
11:58
merge trunk. tclStubLib.c: protect loading incompatible Tcl9 extensions in Tcl8 file: [430e4313a5] check-in: [4919da4fc4] user: jan.nijtmans branch: novem-more-memory-API, size: 25716
2013-01-01
18:38
Deleted: merged mig-alloc-reform: MEM_DEBUG is gone, as is the Tcl stack and TclStackAlloc. See also README.mig-alloc-reform check-in: [0b98f38a1d] user: mig branch: mig-strip-brutal, size: 0
2012-12-12
21:21
More memory API changes, mainly char* -> void* and unsigned -> size_t file: [c1fe1fc2f4] check-in: [19fb92fb72] user: jan.nijtmans branch: novem-more-memory-API, size: 25723
2012-11-30
15:10
Restore agreement between Cache and AllocCache. file: [999590722b] check-in: [7d862e8db2] user: dgp branch: novem-64bit-sizes, size: 25734
2012-11-18
13:59
... and another tranche file: [1342e7c383] check-in: [c4a1bbbad2] user: dkf branch: novem-64bit-sizes, size: 25731
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: [5b2cd98e28] check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 25748
2012-04-05
09:34
Reduce amount of unreachable code. Refactor Win socket and load code to be less baroque in its internals. file: [485362ec4b] check-in: [92cfbef048] user: dkf branch: trunk, size: 25755
2011-11-01
14:14
silence more warnings file: [5b12b0c7e4] check-in: [04e72dd1dc] user: dgp branch: core-8-5-branch, size: 25435
2011-03-22
10:52
simpler initialization of Cache under HAVE_FAST_TSD, from mig-alloc-reform. file: [170f8c591d] check-in: [46389c7b91] user: mig branch: trunk, size: 25969
2011-03-20
11:10
* generic/tclThreadAlloc.c: imported HAVE_FAST_TSD support from 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. file: [397839a931] check-in: [79413ce9a4] user: mig branch: trunk, size: 26049
2011-03-18
12:54
Deleted: development branch for allocator changes check-in: [80a014ef05] user: mig branch: mig-alloc-reform, size: 0
2011-03-15
14:15
Renamed to generic/alloc/tclThreadAlloc.c. reorganisation towards (hopefuly) defining the allocator and/or purify at app start time; for now it's still at compile time, and tclNativeAlloc.c is still not complete check-in: [d0f1659e90] user: mig branch: mig-alloc-reform, size: 0
09:44
retire TclInterpAlloc/Free/Realloc file: [ef043683c4] check-in: [15d781d135] user: mig branch: mig-alloc-reform, size: 24029
08:44
retire USE_TCLALLOC file: [6faa746a7d] check-in: [9345713da6] user: mig branch: mig-alloc-reform, size: 24548
01:04
let zippy use fast __thread TSD; enable with -DHAVE_FAST_TSD, the corresponding autoconferry is missing file: [d71fc3ad1d] check-in: [b598f4b149] user: mig branch: mig-alloc-reform, size: 24210
00:33
bugfix, was always using the shared pool file: [b248e4652a] check-in: [b4cce9f15d] user: mig branch: mig-alloc-reform, size: 23746
00:16
enable zippy to also work on unthreaded builds as a special case; to enable compile without threads and -DUSE_THREAD_ALLOC file: [af27b3ceff] check-in: [5b965f32a9] user: mig branch: mig-alloc-reform, size: 23663
2011-03-14
16:48
optimise freeing in TclAttemptRealloc file: [6b6e988778] check-in: [50502adb40] user: mig branch: mig-alloc-reform, size: 23822
2011-03-13
05:46
redefine TclInterpAlloc/Free to use zippy Tcl_Alloc infrastructure; will be very fast on zippy, not so much with other allocators file: [27cb36f361] check-in: [5314e617b9] user: mig branch: mig-alloc-reform, size: 23812
04:50
rename TclStackAlloc/Free to TclInterpAlloc/Free file: [61b093a200] check-in: [820d67f844] user: mig branch: mig-alloc-reform, size: 23340
01:37
replace TclpAlloc with Tcl_AttemptAlloc, TclpRealloc with Tcl_AttemptRealloc, TclpFree with Tcl_Free file: [85b0a554c4] check-in: [c6418d0771] user: mig branch: mig-alloc-reform, size: 23312
2011-03-12
23:32
make Tcl_Obj alloc and smallest allocs in zippy use the same pool file: [9631014bd7] check-in: [74ccfbd00b] user: mig branch: mig-alloc-reform, size: 23261
2011-03-02
20:27
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them (except in zlib files). file: [f3304213e8] check-in: [c64f310d38] user: dgp branch: trunk, size: 25887
16:06
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [94c02e9e02] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 25387
2011-03-01
15:38
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [621ff991d3] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 24135
2010-11-18
10:11
Next slice. file: [d4e1cf40b4] check-in: [16246c5c13] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 25962
2010-03-06
03:40
merge updates file: [162378a0e9] check-in: [f1f1ac161b] user: dgp branch: dgp-refactor, size: 25966
2010-03-05
14:34
Code Audit results: * 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 file: [de81946de5] check-in: [4d8a4f639d] user: dkf branch: trunk, size: 25962
2009-12-08
18:39
merge updates from HEAD file: [90c0e798f7] check-in: [eb6dfbd0e7] user: dgp branch: dgp-refactor, size: 25966
2009-11-26
17:37
fix warning on LP64 file: [8e6d79d864] check-in: [ee769e1c33] user: das branch: trunk, size: 25962
2009-10-05
02:39
fix typos file: [d09f4833b5] check-in: [5a07102509] user: das branch: core-8-4-branch, size: 24215
2009-09-29
05:05
merge updates from HEAD file: [f64f7e1319] check-in: [eddf7d1795] user: dgp branch: dgp-refactor, size: 25918
05:03
* generic/tclAlloc.c: Cleaned up various routines in the * 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].
file: [5be6a87cb8] check-in: [f10095b9f9] user: dgp branch: trunk, size: 25914
04:43
* generic/tclAlloc.c: Cleaned up various routines in the * 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].
file: [680cf8d8ee] check-in: [e6b0f11e96] user: dgp branch: core-8-5-branch, size: 25466
2009-09-28
21:20
* generic/tclAlloc.c: Cleaned up various routines in the * 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].
file: [4960f9e9e0] check-in: [b61f883a53] user: dgp branch: core-8-4-branch, size: 24214
2009-01-09
14:17
merge updates from HEAD file: [ac8df46eed] check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 25314
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: [cd6906e450] check-in: [cd3c38f00a] user: dkf branch: trunk, size: 25310
2008-07-29
20:20
merge updates from HEAD file: [906bc4282f] check-in: [f491a22b6b] user: dgp branch: dgp-refactor, size: 25348
18:19
* generic/tclBasic.c: Made use of the thread's alloc cache * 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.
file: [aa2868a098] check-in: [1a3aa54ccf] user: msofer branch: trunk, size: 25347
2008-03-26
20:08
merge updates from HEAD file: [bcf0c69f83] check-in: [d4dafab14a] user: dgp branch: core-stabilizer-branch, size: 24862
19:59
merge updates from HEAD file: [a5da6ba280] check-in: [29fc91338c] user: dgp branch: dgp-refactor, size: 24862
2008-03-20
09:49
Final clean up of the Tcl_GetMemoryInfo mess. file: [cfdd7bddf2] check-in: [f3b6299f91] user: dkf branch: trunk, size: 24858
2008-03-19
16:02
Corrected scoping of Tcl_GetMemoryInfo. [Bug 1868171] file: [6c2bc56048] check-in: [95fb422443] user: dkf branch: trunk, size: 24349
2008-01-23
16:42
merge updates from HEAD file: [7d6abef2eb] check-in: [013cce9562] user: dgp branch: core-stabilizer-branch, size: 24366
2007-12-18
04:18
merge updates from HEAD file: [1a074cd692] check-in: [56cc5f4a94] user: dgp branch: dgp-refactor, size: 24366
2007-12-17
15:28
* generic/tclAlloc.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclThreadAlloc.c: Fix alignment for memory returned by TclStackAlloc; insure that all memory allocators align to 16-byte boundaries on 64 bit platforms [Bug 1851832, 1851524]
file: [bde8ab7272] check-in: [2c86995901] user: msofer branch: trunk, size: 24365
2007-12-13
15:22
merge stable branch onto HEAD file: [2fb3f95d54] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 24473
2007-12-06
06:51
merge updates from HEAD file: [06193db79d] check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 24477
2007-11-21
06:30
Merge updates from 8.5b3 release file: [fdc9dadca2] check-in: [c60ad186f4] user: dgp branch: core-stabilizer-branch, size: 24477
2007-11-18
22:00
Avoid using 'new' as an identifier. file: [f26d5c3262] check-in: [a2416568db] user: dkf branch: trunk, size: 24473
2007-07-01
18:29
merge updates from HEAD file: [2a45df72f5] check-in: [0b87a0b021] user: dgp branch: dgp-refactor, size: 24462
17:31
merge updates from HEAD file: [b94175dde8] check-in: [25efbdbb22] user: dgp branch: core-stabilizer-branch, size: 24462
2007-06-29
03:17
* generic/tclAlloc.c: on Darwin, ensure memory allocated by * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc).
file: [63a7c54fd3] check-in: [f80bb890e9] user: das branch: core-8-4-branch, size: 23610
03:17
* generic/tclAlloc.c: on Darwin, ensure memory allocated by * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc).
file: [a9c3ced835] check-in: [28e130888f] user: das branch: trunk, size: 24458
2006-08-29
16:19
merge updates from HEAD file: [d2b19487c5] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 24223
2006-08-10
12:15
Various minor object file size efficiency fixes. [Bug 1530474] file: [86a74f5219] check-in: [a09967381c] user: dkf branch: trunk, size: 24219
2006-01-25
18:38
merge updates from HEAD file: [412a45b2c5] check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 24228
2005-12-20
22:16
Use %ld instead of %d in Tcl_GetMemoryInfo file: [5578a77ae3] check-in: [7458ff197d] user: dkf branch: trunk, size: 24224
22:16
Use %ld instead of %d in Tcl_GetMemoryInfo file: [79cc6ca478] check-in: [b40514b67e] user: dkf branch: core-8-4-branch, size: 23489
2005-12-02
18:42
merge updates from HEAD file: [59a60b4d9f] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 24204
2005-11-27
02:33
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4.
* unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in.
* unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files.
* unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory.
* unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy].
* generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files.
* generic/tclInt.h: clarify fat compile comment.
* unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001).
* macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64
* macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles.
* macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once).
* unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects).
* macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4.
* generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs.
* generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4.
* generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings.
* generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined.
* generic/regguts.h: only #define NDEBUG if not already #defined.
* unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments.
* unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API.
* unix/configure: * unix/tclConfig.h.in: regen.
file: [289d99da83] check-in: [eac3630f72] user: das branch: trunk, size: 24201
2005-11-03
17:52
merge updates from HEAD file: [bc8d44fa47] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 24191
2005-11-02
11:55
ANSIfy (though only partially - function decls only - for tclExecute.c) file: [205b7ecca1] check-in: [127ec44748] user: dkf branch: trunk, size: 24188
2005-08-02
18:14
merge updates from HEAD file: [90cac4490e] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 24424
2005-07-26
04:11
Merge updates from HEAD file: [3f83f8fb9f] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 24423
2005-07-24
22:56
Getting more systematic about style file: [db167ad15d] check-in: [83d72c558c] user: dkf branch: trunk, size: 24420
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611)
file: [3c221b2444] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 24414
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [76a24679d9] check-in: [1cc2336920] user: kennykb branch: trunk, size: 24411
2005-04-29
22:39
Merge updates from HEAD file: [18e7d1ef44] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 24410
2005-04-25
21:37
Merged with HEAD. file: [42ef78522d] check-in: [fcce6158ac] user: kennykb branch: kennykb-numerics-branch, size: 24415
2005-04-16
08:00
Modified TclFinalizeThreadAlloc() to explicitly call TclpFreeAllocCache with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator file: [56850647ca] check-in: [9b92b809a4] user: vasiljevic branch: trunk, size: 24414
2005-04-07
11:27
Modified TclFinalizeThreadAlloc() to explicitly call 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. file: [1ab977f9f8] check-in: [67acf03916] user: vasiljevic branch: core-8-4-branch, size: 23473
2004-10-28
21:12
* generic/tclAlloc.c: Fixed [Tcl SF Bug 1030548], a * 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. file: [4fc0e139b9] check-in: [6d824cc2bb] user: andreas_kupries branch: core-8-4-branch, size: 23447
2004-09-08
23:02
Merge updates from HEAD file: [3f5db87928] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 24379
2004-07-25
21:38
* generic/tclThreadAlloc.c: Moved the tclInt.h include to provide Tcl_Panic which is now required for non-threaded build. file: [685ea4c5b3] check-in: [68225ba789] user: patthoyts branch: core-8-4-branch, size: 23414
2004-07-21
01:45
* generic/tclEvent.c: Correct threaded obj allocator to * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
file: [46a0a41d88] check-in: [8a65a24648] user: hobbs branch: trunk, size: 24378
01:30
* generic/tclEvent.c: Correct threaded obj allocator to * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
file: [5265ec5b08] check-in: [12bdd26d68] user: hobbs branch: core-8-4-branch, size: 23350
2004-06-21
08:54
Make [Bug 975895] less likely to be hit file: [89c34733f7] check-in: [a99c5f486a] user: dkf branch: trunk, size: 23295
2004-05-17
18:42
merge updates from HEAD file: [3ef0e0e943] check-in: [5741c7bde9] user: dgp branch: dgp-refactor, size: 22063
2004-05-04
20:09
* generic/tclAlloc.c: Make sure Tclp*Alloc* routines get * generic/tclInt.h: declared in the TCL_MEM_DEBUG and * generic/tclThreadAlloc.c: TCL_THREADS configuration. [Bug 947564]
file: [7b012e4327] check-in: [fa36b89dd4] user: dgp branch: trunk, size: 22060
17:44
Merge updates from HEAD. file: [0c29baaab3] check-in: [de9c64200c] user: dgp branch: dgp-refactor, size: 22064
2004-04-30
20:06
* generic/tclInt.h: Replaced Kevin Kenny's temporary * generic/tclThreadAlloc.c: fix for Bug 945447 with a cleaner, more permanent replacement.
file: [b32487d859] check-in: [6e87dc0c78] user: dgp branch: trunk, size: 22061
17:45
* generic/tclThreadAlloc.c: Added a temporary (or so I hope!) inclusion of "tclWinInt.h" to avoid problems when compiling on Win32-VC++ with --enable-threads. [Bug 945447] file: [dec8f41021] check-in: [4b0c81f8a4] user: kennykb branch: trunk, size: 22235
2004-04-09
20:57
Merge updates from HEAD file: [6f6042e324] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 22206
2004-04-06
22:25
Patch 922727 committed. Implements three changes:
* generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only.
* generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same.
* win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
file: [4071164bf5] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 22202
2004-02-07
05:47
Merge updates from HEAD

Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [c5fa3e83ae] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 22234

2003-12-24
04:18
All uses of 'panic' (the macro) changed to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264] file: [33aa371df5] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 22235
2003-12-16
11:34
Made a variable file-local for safety file: [d6ababddfb] check-in: [54a83caeac] user: dkf branch: trunk, size: 22218
2003-05-10
04:57
fix bad cvs lf conversion file: [f98e13f8c4] check-in: [39dc7f33bd] user: mistachkin branch: core-8-4-branch, size: 22278
04:25
fix bad cvs lf conversion file: [b7a23d7bef] check-in: [4bc19ebde0] user: mistachkin branch: trunk, size: 22224
00:09
fix for [Bug 731754] file: [bd1fcbd04b] check-in: [dd0b47aef7] user: mistachkin branch: core-8-4-branch, size: 22276
2003-05-09
23:33
fix for [Bug 731754] file: [94b311aa20] check-in: [eaa3c15fd6] user: mistachkin branch: trunk, size: 23174
2002-08-30
15:33
merged with trunk at tag macosx-8-4-merge-2002-08-30-trunk file: [939962933e] check-in: [c69eee32c0] user: das branch: macosx-8-4-branch, size: 22326
2002-08-26
13:05
* generic/tclThreadAlloc.c: small optimisation, reducing the new allocator's overhead.
file: [f966108798] check-in: [facfeb86d7] user: msofer branch: trunk, size: 22325
2002-08-23
21:07
* generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objects between caches as a block, instead of one-by-one.
file: [6893d0fa78] check-in: [919a9e1ad0] user: msofer branch: trunk, size: 21984
2002-06-10
04:15
Added: Adding files from the merge with TOT. file: [febb4a7a9b] check-in: [bdc4f8c7e6] user: wolfsuit branch: macosx-8-4-branch, size: 21593
2002-05-29
00:18
* generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protect against the case when NULL is based.
file: [734153b98e] check-in: [40c3da52d3] user: hobbs branch: trunk, size: 21586
2002-04-23
17:03
Added:
* generic/tclAlloc.c: * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
file: [2c994cdcac] check-in: [28a1df4ae9] user: hobbs branch: trunk, size: 21515