summaryrefslogtreecommitdiff
path: root/malloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Go ahead and #include <unistd.h> in perl.h.Jarkko Hietaniemi2000-11-221-9/+3
| | | p4raw-id: //depot/perl@7816
* Add HAS_SBRK_PROTO.Jarkko Hietaniemi2000-11-161-0/+2
| | | p4raw-id: //depot/perl@7710
* Typo in an ifndef.Joe Smith2000-11-091-1/+1
| | | | | | Subject: Re: [PATCH 5.7.0] better messages from malloc() Message-Id: <3A0A6F5A.1E3969BB@inwap.com> p4raw-id: //depot/perl@7623
* Re: Patch 7533 prevents malloc.c from compiling on MachTenDominic Dunlop2000-11-081-7/+16
| | | | | Message-Id: <p04320403b62d8e0870cf@[192.168.1.4]> p4raw-id: //depot/perl@7611
* Add a note for future generations about bug id 20000229.006.Jarkko Hietaniemi2000-11-051-0/+5
| | | p4raw-id: //depot/perl@7563
* better messages from malloc()Ilya Zakharevich2000-11-031-46/+90
| | | | | Message-ID: <20001101233956.A520@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7533
* IVs in mtatsIlya Zakharevich2000-10-131-21/+20
| | | | | Message-ID: <20001012225104.A7103@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7214
* continued -Wformat supportRobin Barker2000-09-141-1/+1
| | | | | Message-Id: <200009141707.SAA13276@tempest.npl.co.uk> p4raw-id: //depot/perl@7081
* avoid using context pointer in MUTEX_INIT() et al; remove theGurusamy Sarathy2000-03-111-4/+4
| | | | | *_NOCONTEXT variants to keep it simple p4raw-id: //depot/perl@5651
* better fix for malloc bug in change#5346 (from Dominic Dunlop)Gurusamy Sarathy2000-02-291-1/+1
| | | | | p4raw-link: @5346 on //depot/perl: 0f297bd804f61ea0809c358c647840f86e05b2dc p4raw-id: //depot/perl@5372
* malloc "fix" in change#5346 coredumps on HP-UX, revertGurusamy Sarathy2000-02-291-2/+1
| | | | | p4raw-link: @5346 on //depot/perl: 0f297bd804f61ea0809c358c647840f86e05b2dc p4raw-id: //depot/perl@5360
* malloc bug fix and machten hints (from Dominic DunlopGurusamy Sarathy2000-02-291-12/+2
| | | | | <domo@computer.org>) p4raw-id: //depot/perl@5346
* Further fixes to malloc.c prototypes from Dominic Dunlop.Jarkko Hietaniemi2000-02-251-12/+10
| | | p4raw-id: //depot/cfgperl@5258
* [ID 20000223.008] [PATCH 5.5.660] squash malloc.c compile warningsDominic Dunlop2000-02-231-0/+1
| | | | | | | To: perl5-porters@perl.org Cc: Gurusamy Sarathy <gsar@activestate.com> Message-Id: <v04220800b4d9f1bcee1a@[212.24.193.51]> p4raw-id: //depot/cfgperl@5225
* make Perl's malloc work for allocations over 2GB (from IlyaGurusamy Sarathy2000-02-221-29/+16
| | | | | Zakharevich) p4raw-id: //depot/perl@5212
* Thou shalt not printf longs with %d.Jarkko Hietaniemi2000-02-211-3/+3
| | | p4raw-id: //depot/cfgperl@5177
* misplaced bracesGurusamy Sarathy2000-02-211-11/+17
| | | p4raw-id: //depot/perl@5175
* more malloc.c tweaks for change#5070Gurusamy Sarathy2000-02-211-17/+18
| | | | | p4raw-link: @5070 on //depot/metaconfig: 0905a7e2c5c1d8a0937a928ec08bbe6e341eebb5on //depot/cfgperl: ad5513430ad41d3071839f83eb3da57da67fe68e p4raw-id: //depot/perl@5174
* malloc.c fixups in change#5170 need to fetch thx pointerGurusamy Sarathy2000-02-211-12/+20
| | | | | p4raw-link: @5170 on //depot/perl: e476b1b5c29f354cf8dad61a9fc6d855bdfb5b7d p4raw-id: //depot/perl@5173
* lexical warnings update, ability to inspect bitmask in callingGurusamy Sarathy2000-02-201-0/+30
| | | | | scope, among other things (from Paul Marquess) p4raw-id: //depot/perl@5170
* avoid compiler warningsGurusamy Sarathy2000-02-191-0/+1
| | | p4raw-id: //depot/perl@5149
* provide malloc stats via get_mstats() (from Ilya Zakharevich)Gurusamy Sarathy2000-02-151-31/+69
| | | p4raw-id: //depot/perl@5103
* use system malloc() instead of sbrk() in Perl_malloc() under -DPURIFYGurusamy Sarathy2000-02-141-1/+5
| | | p4raw-id: //depot/perl@5078
* fix debug code in Perl_malloc() (from Ilya Zakharevich)Gurusamy Sarathy2000-02-061-2/+9
| | | p4raw-id: //depot/perl@5010
* off-by-one in malloc.c (from Ilya Zakharevich)Gurusamy Sarathy2000-02-041-4/+4
| | | p4raw-id: //depot/perl@4974
* More printf-fixes (see also #4426).Jarkko Hietaniemi1999-10-231-12/+13
| | | p4raw-id: //depot/cfgperl@4429
* support PERL_IMPLICIT_SYS with MULTIPLICITY/USE_THREADS onGurusamy Sarathy1999-10-171-1/+6
| | | | | windows p4raw-id: //depot/perl@4402
* avoid warningsGurusamy Sarathy1999-10-121-2/+4
| | | p4raw-id: //depot/perl@4351
* make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-10/+10
| | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* Malloc fixes and docsIlya Zakharevich1999-09-271-77/+222
| | | | | Message-ID: <19990924232536.A16257@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@4237
* Replace change #4100 withRobin Barker1999-09-131-18/+16
| | | | | | | | | | To: gsar@activestate.com Cc: perl5-porters@perl.org Subject: Re: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909131315.OAA24012@tempest.npl.co.uk> p4raw-link: @4100 on //depot/cfgperl: 427181846486e3aa5034a647dc1922377185f4c0 p4raw-id: //depot/cfgperl@4136
* Fix pointer casts.Robin Barker1999-09-071-11/+11
| | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909071130.MAA11435@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4100
* DEBUG_m() adjusted to internalize dTHXGurusamy Sarathy1999-08-201-4/+10
| | | p4raw-id: //depot/perl@4013
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-1/+4
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* most globals are now interpreter local; locale initializationGurusamy Sarathy1999-06-101-1/+1
| | | | | | | was too early, defer it until interpreter is allocated and initialized; multiple interpreters should now be concurrency-safe (untested) p4raw-id: //depot/perl@3527
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-27/+49
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-26/+19
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* remove _() non-ansismGurusamy Sarathy1999-06-021-4/+4
| | | p4raw-id: //depot/perl@3518
* fix missing exported symbolGurusamy Sarathy1999-05-261-9/+2
| | | p4raw-id: //depot/perl@3484
* Integrate from mainperl.Jarkko Hietaniemi1999-03-231-1/+1
|\ | | | | p4raw-id: //depot/cfgperl@3128
| * update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | | | | p4raw-id: //depot/perl@3124
* | First pass of integrating the Rhapsody port,Wilfredo Sánchez1999-03-151-1/+1
|/ | | | | | | | Subject: Keeping the world in sync. Reply-To: wsanchez@apple.com To: perlbug@perl.com Message-Id: <199811140111.RAA41784@scv4.apple.com> p4raw-id: //depot/cfgperl@3108
* fix typo in Perl_sbrk()Hans Mulder1999-02-201-1/+1
| | | | | | Message-Id: <9902192221.AA07213@icgned.icgroup.nl> Subject: Not OK: perl 5.00555 on OPENSTEP-Mach 4_2 (UNINSTALLED) p4raw-id: //depot/perl@2993
* make EMBEDMYMALLOC the default and provide PERL_POLLUTE_MALLOC to letGurusamy Sarathy1999-02-081-16/+8
| | | | | them ask for insanity (untested) p4raw-id: //depot/perl@2832
* Atari MiNT port by Guido Flohr <gufl0000@stud.uni-sb.de>Jarkko Hietaniemi1999-01-131-4/+4
| | | | | | (the diffs were based on 5.004_02). Tested by Guido and Frank Naumann <fnaumann@prinz-atm.CS.Uni-Magdeburg.De>. p4raw-id: //depot/cfgperl@2594
* Re: stuff related to malloc.cIlya Zakharevich1998-12-171-1/+1
| | | | | | | To: domo@computer.org Cc: jhi@iki.fi, perl5-porters@perl.org Message-Id: <199812162140.QAA04925@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2486
* Re: stuff related to malloc.cIlya Zakharevich1998-12-131-15/+43
| | | | | | | To: jhi@iki.fi Cc: Carl_Adler@idx.com, perl5-porters@perl.org Message-Id: <199812130039.TAA21704@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2475
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-1/+2
| | | | | | | | avoid most uses of PL_na (which is much more inefficient than a simple local); update docs to suit; PL_na now being thr->Tna may be a minor compatibility issue for extensions--will require dTHR outside of XSUBs (those get automatic dTHR) p4raw-id: //depot/perl@2387
* fix MALLOC_LOCK #defineGurusamy Sarathy1998-11-281-4/+4
| | | p4raw-id: //depot/perl@2341
* malloc bugfix and documentation from Ilya ZakharevichGurusamy Sarathy1998-11-271-1/+68
| | | | | | | | | | | Date: Tue, 24 Nov 1998 17:24:55 -0500 (EST) Message-Id: <199811242224.RAA22618@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_*] Re: Internal coredump -- Date: Thu, 26 Nov 1998 03:06:10 -0500 (EST) Message-Id: <199811260806.DAA28913@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_*] malloc.c documentation p4raw-id: //depot/perl@2325