[haiku-development] Re: boehm-gc 6.6 for GCJ 4.3.3

  • From: Michael Franz <mvfranz@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 12 Oct 2009 18:41:24 -0400

That works as well.

On Mon, Oct 12, 2009 at 5:56 PM, <pete.goodeve@xxxxxxxxxxxx> wrote:

> On Mon, Oct 12, 2009 at 03:07:33PM -0400, Michael Franz wrote:
> > I replaced all of the code with
> >
> > return (ptr_t)valloc(bytes);
> >
> > and the test also work.  What is the implication of doing this?  It seems
> > that sbrk is old and people are moving away from it.  If most/all systems
> > have valloc I would think switching to valloc would be a good change for
> all
> > platforms.
>
> The man pages for valloc I googled all seem to think it's "obsolete", so
> that mightn't be so good.  Its replacement seems to be posix_memalign.
>
>                -- Pete --
>
>
>

Other related posts: