http://www.perlmonks.org?node_id=252523


in reply to Re: usemymalloc
in thread usemymalloc

Note also that Perl is using usemymalloc by default.

Are you sure? Quick grep in hints directory shows that usemymalloc is off by default on majority of platforms:

ilya@juil:~/devel/perl-current/hints$ grep usemymalloc *.sh aix.sh:case "$usemymalloc" in aix.sh:'') usemymalloc='n' ;; amigaos.sh:usemymalloc='n' atheos.sh:usemymalloc='n' beos.sh:usemymalloc='n' bsdos.sh:usemymalloc='n' cxux.sh:usemymalloc='n' darwin.sh:usemymalloc='n'; dcosx.sh:usemymalloc='n' dec_osf.sh: case "$usemymalloc" in dec_osf.sh: usemymalloc='n' dgux.sh:case "$usemymalloc" in dgux.sh:'') usemymalloc='n' ;; dos_djgpp.sh:usemymalloc='n' freebsd.sh: case "$usemymalloc" in freebsd.sh: "") usemymalloc='n' freebsd.sh: case "$usemymalloc" in freebsd.sh: "") usemymalloc='n' freebsd.sh: case "$usemymalloc" in freebsd.sh: "") usemymalloc='n' freebsd.sh: usemymalloc=n hpux.sh:usemymalloc='y' hpux.sh: $define|true|[yY]*) usemymalloc='n' ;; hpux.sh: *) usemymalloc='n' ;; hpux.sh:usemymalloc='n' hpux.sh: $undef|false|[nN]*) usemymalloc='y' ;; irix_5.sh:usemymalloc='n' irix_6_0.sh:usemymalloc='n' irix_6_1.sh:usemymalloc='n' irix_6.sh: usemymalloc='undef' irix_6.sh: usemymalloc='n' irix_6.sh: usemymalloc="$undef" irix_6.sh:usemymalloc=${usemymalloc:-false} linux.sh:case "$usemymalloc" in linux.sh:'') usemymalloc='n' ;; lynxos.sh:usemymalloc='n' machten_2.sh:case "$usemymalloc" in machten_2.sh:'') usemymalloc='y' ;; machten.sh:usemymalloc=${usemymalloc:-y} ncr_tower.sh:usemymalloc='y' next_3_0.sh:usemymalloc='n' next_3.sh:# setting usemymalloc='n' was the solution back then. Later +came next_3.sh:# from the ccflags and set usemymalloc to 'n'. next_3.sh:#usemymalloc='y' next_3.sh:usemymalloc='n' next_4.sh:usemymalloc='y' openbsd.sh:test "$usemymalloc" || usemymalloc='n' os390.sh:case "$usemymalloc" in os390.sh:'') usemymalloc='n' ;; posix-bc.sh:case "$usemymalloc" in posix-bc.sh:'') usemymalloc='n' ;; powerux.sh:usemymalloc='n' qnx.sh: usemymalloc='false' rhapsody.sh:usemymalloc='n'; sco_2_3_4.sh:usemymalloc='y' solaris_2.sh:usemymalloc=${usemymalloc:-false} super-ux.sh:case "$usemymalloc" in super-ux.sh: usemymalloc='y' ti1500.sh:usemymalloc='n' unicosmk.sh:case "$usemymalloc" in unicosmk.sh:'') usemymalloc='y' unicos.sh:case "$usemymalloc" in unicos.sh: # usemymalloc='y' unicos.sh: usemymalloc='n' utekv.sh:usemymalloc='y' uwin.sh:usemymalloc=n vmesa.sh:usemymalloc='n' vos.sh:usemymalloc="n"

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org