summaryrefslogtreecommitdiff
path: root/malloc.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Cosmetic malloc patchIlya Zakharevich1998-11-271-16/+73
| | | | | Message-Id: <199811100003.TAA05815@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2320
* Re: [PATCH] Re: Not OK: perl 5.00553 on OPENSTEP-Mach 4_1Hans Mulder1998-11-091-4/+4
| | | | | | | | | To: Ilya Zakharevich <ilya@math.ohio-state.edu> Cc: gsar@engin.umich.edu (Gurusamy Sarathy), jhi@iki.fi, perl5-porters@perl.org (UNINSTALLED) Message-Id: <9811082119.AA11802@icgned.icgroup.nl> p4raw-id: //depot/cfgperl@2225
* Finalize the Mach CThreads support.Hans Mulder1998-11-071-8/+16
| | | | | | | | To: Gurusamy Sarathy <gsar@engin.umich.edu> Cc: jhi@iki.fi, perl5-porters@perl.org Subject: [PATCH] Re: Not OK: perl 5.00553 on OPENSTEP-Mach 4_1 (UNINSTALLED) Message-Id: <9811072105.AA07794@icgned.icgroup.nl> p4raw-id: //depot/cfgperl@2211
* Renamed malloc.c ASSERT() macro to P_ASSERT() becauseJarkko Hietaniemi1998-11-061-8/+8
| | | | | | | | | | | | | | | | | | | ASSERT() causes problems in {NeXTStep,OpenStep}. From: Hans Mulder <hansm@icgroup.nl> To: Jarkko Hietaniemi <jhi@cc.hut.fi> Subject: Re: Not OK: perl 5.00553 on OPENSTEP-Mach 4_1 (UNINSTALLED) Date: Fri, 6 Nov 98 01:27:41 +0100 Message-Id: <9811060025.AA27389@icgned.icgroup.nl> and From: Ilya Zakharevich <ilya@math.ohio-state.edu> Subject: Re: ASSERT() in malloc.c To: jhi@iki.fi Date: Fri, 6 Nov 1998 02:59:29 -0500 (EST) Message-Id: <199811060759.CAA18915@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2209
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-1/+1
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* minor cleanupGurusamy Sarathy1998-10-281-4/+3
| | | p4raw-id: //depot/perl@2112
* enable PERL_SBRK_VIA_MALLOC on OPENSTEP-MachHans Mulder1998-09-231-5/+1
| | | | | | Message-Id: <9808111907.AA21903@icgned.icgroup.nl> Subject: Not OK: perl 5.00551 on OPENSTEP-Mach 4_1 (UNINSTALLED) p4raw-id: //depot/perl@1807
* Better debugging output from malloc.cIlya Zakharevich1998-08-021-7/+8
| | | | | Message-Id: <199808020835.EAA09367@monk.mps.ohio-state.edu> p4raw-id: //depot/maint-5.005/perl@1713
* malloc.c tweaksIlya Zakharevich1998-08-021-15/+40
| | | | | | Message-Id: <199808012246.SAA00699@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_*] Better malloc.c p4raw-id: //depot/maint-5.005/perl@1707
* complete s/foo/PL_foo/ changes (all escaped cases identified withGurusamy Sarathy1998-07-201-1/+1
| | | | | | brute force search script). Result builds and passes all tests on Solaris. win32 and PERL_OBJECT are still untested. p4raw-id: //depot/perl@1578
* Drat! - threaded perl-malloc has mutex that needs PL_Nick Ing-Simmons1998-07-191-12/+12
| | | p4raw-id: //depot/ansiperl@1570
* PL_ for perl's mallocNick Ing-Simmons1998-07-191-8/+8
| | | p4raw-id: //depot/ansiperl@1569
* reenable misaligned memory checks, cast to UV & check alignmentDominic Dunlop1998-07-091-2/+2
| | | | | | Message-Id: <v03110703b1c8ffdb68ed@[195.95.102.91]> Subject: Re: [PATCH 5.00469] corrupt malloc ptr on NeXT p4raw-id: //depot/perl@1389
* corrupt malloc ptr on NeXTHans Mulder1998-07-061-1/+1
| | | | | Message-Id: <9807060021.AA29027@icgned.icgroup.nl> p4raw-id: //depot/perl@1333
* Make Power MachTen use vfork and perl's mallocDominic Dunlop1998-07-041-7/+31
| | | | | Message-Id: <v03110701b1c1603eae52@[195.95.102.68]> p4raw-id: //depot/perl@1298
* applied patch, regen headersIlya Zakharevich1998-06-231-2/+12
| | | | | | Message-Id: <199806220819.EAA03295@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_67] Malloc size feedback p4raw-id: //depot/perl@1201
* fix alignment issues in malloc.c on 64-bit platforms (via private mail)Ilya Zakharevich1998-06-221-1/+14
| | | | | | Message-Id: <199806170844.EAA24584@monk.mps.ohio-state.edu> Subject: Re: _67 not okay p4raw-id: //depot/perl@1184
* adapted contents of message into comments in malloc.c and INSTALLIlya Zakharevich1998-06-211-0/+100
| | | | | | Message-Id: <199806162240.SAA23597@monk.mps.ohio-state.edu> Subject: [5.004_67] malloc.c -Defines p4raw-id: //depot/perl@1180
* applied patch, tweaked wordingIlya Zakharevich1998-06-211-1/+1
| | | | | | Message-Id: <199806200838.EAA13992@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_67] Documentation patch for malloc p4raw-id: //depot/perl@1177
* Cosmetic malloc patchIlya Zakharevich1998-06-211-172/+190
| | | | | Message-Id: <199806200829.EAA13974@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1176
* Better version of malloc improverIlya Zakharevich1998-06-211-39/+77
| | | | | Message-Id: <199806172151.RAA28441@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1167
* various win32 fixesGurusamy Sarathy1998-06-141-2/+2
| | | | | | | | | | | - fixes that silence VC noises about dup exports, non-default libs, and unsupported *.def file directives - s/inplace/inplace_label/ malloc.c - update Config{usemymalloc} based on d_mymalloc - export Perl_*Vars - fix makefiles to not build miniperl.exe twice, and to make it properly when defaults are changed p4raw-id: //depot/perl@1129
* add newer malloc.c from Ilya Zakharevich <ilya@math.ohio-state.edu>Gurusamy Sarathy1998-06-101-244/+848
| | | | | (from $CPAN/authors/id/ILYAZ/patches/diff_malloc_65) p4raw-id: //depot/perl@1082
* STRESS_REALLOCStephen McCamant1998-03-161-0/+3
| | | p4raw-id: //depot/perl@820
* Perl_sbrk declared inconsistentlyHans Mulder1998-02-201-1/+1
| | | p4raw-id: //depot/perl@543
* Re: wrong prototype for sbrk [PATCH]Andy Dougherty1998-02-121-3/+3
| | | p4raw-id: //depot/perl@509
* [win32] s/PerlENV/PerlEnv/ just to be consistentGurusamy Sarathy1998-01-191-1/+1
| | | p4raw-id: //depot/win32/perl@434
* [win32] foo() -> PerlGroup_foo() patch from ActiveStateGurusamy Sarathy1998-01-191-2/+2
| | | p4raw-id: //depot/win32/perl@433