emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make bootstrap fails on Mac OS X


From: Stefan Monnier
Subject: Re: make bootstrap fails on Mac OS X
Date: Fri, 18 Jul 2003 10:10:10 -0400

> >>>>  malloc_freezedry_recorder: too many regions
> >>>
> >>> I have no idea whether your fix is correct or not, but I think it'd
> >>> be interesting to try and figure out what causes the increased number
> >>> of regions.
> >>> Is that a new problem ?  If so when did it start and can you try to
> >>> narrow down a set of commits that caused this change ?
> >>
> >> Yes, it is new problem.
> >> It starts between 2003-07-15 0:0:0 UTC and 2003-07-16 0:0:0 UTC.
> >> I think the increased number of regions caused by latest src/alloc.c
> >> (1.315->1.316).
> >
> > That's what I feared as well.
> > Is HAVE_POSIX_MEMALIGN defined in src/config.h ?
> 
> No.

That's odd.
If HAVE_POSIX_MEMALIGN is not defined in src/config.h that means that my
new code uses once all to `malloc' to allocate aligned 15 aligned 1024 blocks
whereas the old code would have used 15 calls to `malloc' for it, so
it seems odd that it would increase the number of regions.
Admittedly, those 15 regions could be freed individually before whereas
now they'll stay allocated until all 15 are empty, but I don't see how
that could cause such a large difference.

I guess I just don't really understand what those "regions" are.

Can someone who worked on Mac OS X's unexec chime in with his own
wild speculations ?


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]