[MLton-devel] walking the stack for profiling
Matthew Fluet
fluet@CS.Cornell.EDU
Thu, 12 Dec 2002 14:56:17 -0500 (EST)
> > I don't think that it will be that expensive. The simplest solution might
> > be to put stackTop in GCState class, but that might be more expensive.
> >
> > I don't have time to work on that today, but I'll try to take a look at it
> > tomorrow afternoon. Over the weekend for sure; it should only be a couple
> > of hours.
>
> Great, so I'll put stackTop in GCState for now for testing and await
> the more efficient fix. Thanks.
There is a chance you may get register allocation bugs with this. So many
locations are indirections off of stackTop, and if it's not in a register,
then we need to do a lot of spilling to get it back.
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel