[racket-dev] Where does this program allocate?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Jul 24 19:53:10 EDT 2012

Great, thanks!  If you have a version of your allocation profiler that
I can run, I'm happy to try it myself, as well.

On Tue, Jul 24, 2012 at 4:51 PM, James Swaine
<james.swaine at eecs.northwestern.edu> wrote:
> I noticed the large amount of allocation going on when I was using
> mandelbrot to test my fixes to the visualizer last week -- I'll take a look.
> I wrote an allocation hotspot profiler tool that may end up as part of the
> visualizer in some form, so I can try running it on your code.
>
>
>
> On Tue, Jul 24, 2012 at 6:12 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>
> wrote:
>>
>> I've been trying to use the new futures visualizer (which is great) to
>> improve my parallel version of the mandelbrot benchmark
>> (collects/tests/racket/shootout/mandelbrot-futures.rkt).  My current
>> code is attached.  You can run it like this:
>>
>>     $ racket mand.rkt 4000 8 # 8 is the number of futures to use.
>>
>> The visualizer shows that each future syncs thousands of times for
>> allocation.  However, I can't find the allocation in the loop at all
>> (even in the decompiler output).  Does anyone have any suggestions on
>> what might be allocating here, or any strategies I can use for finding
>> the allocation?
>> --
>> sam th
>> samth at ccs.neu.edu
>>
>> _________________________
>>   Racket Developers list:
>>   http://lists.racket-lang.org/dev
>>
>



-- 
sam th
samth at ccs.neu.edu

Posted on the dev mailing list.