This is the mail archive of the gcc-patches@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: Speeding up ggc-simple on stage1



  In message <20000115173202.C8447@wolery.cumb.org>you write:
  > On Sat, Jan 15, 2000 at 05:20:10PM -0800, Mark Mitchell wrote:
  > > >>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
  > >     >> I'm all for speeding up the compiler -- but I'm old-fashioned.
  > >     >> Let's profile first, and attack the hot spots!
  > > 
  > >     Alexandre> But attacking the hot spots is precisely what I'm
  > >     Alexandre> doing.  ggc-simple seems to be just too slow.
  > > 
  > > Fair enough.  I think you're right -- the best thing to do is find a
  > > way to get page-aligned memory even if doing so is something of a
  > > nuisance.  I'm not sure what scheme is best for the system you're on.
  > 
  > Might it work to call sbrk() directly?
If I remember correctly, programs that use malloc should not be calling
sbrk directly.

jeff


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