This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: hpux 10.20 and mmap everywhere


>   > The GNU gc routines will use mmap in preference to valloc if HAVE_MMAP_ANYW
>   > HERE
>   > support is available.  Would the performance improvement from using mmap in
>   > the gc routines be worth modifying configure and the gc routines for this
>   > case?
> Using mmap is definitely preferred.  Yes, the hpux mmap is a little
> different from the rest of the world.  I've complained to folks writing
> autoconf tests to write them to be hpux-aware on and off for years....

I believe gcc currently uses its own local autoconf tests re mmap.  They
are in aclocal.m4.  Thus, a change at this point wouldn't affect the
autoconf development, although I am sure they would be interested.  I think
what is needed is a MMAP_ANONYMOUS test.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]