Hi David,

I am trying to create something like Hans Boehm's GC benchmark -
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_bench.html
in SML. My current attempt is at:
http://pastebin.com/2RW9jpCJ

Sorry - I forgot all my ML years ago. Here are some things I'm not sure how to 
do nicely in Poly/ML:

* printf without lots of String.concat
* is there a runtime API call to get the totalMem (current heap size?) and the 
free mem (currently unused blocks in heap?)
* Are all my ephemeral objects being created properly, or is the compiler 
optimizing away their allocation? How could I tell?
* So far, I have been checking gc activity with --debug gc flag. Are there any 
more powerful tools for GC profiling/checking?

Thanks,
Jeremy




The University of Glasgow, charity number SC004401
_______________________________________________
polyml mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to