[M3devel] RTHeapStats assumption of two calls in ProcessStacks?

Jay K jay.krell at cornell.edu
Sun Nov 22 09:41:39 CET 2009


UNSAFE MODULE RTHeapStats;

(* The code below makes the following NASTY assumption:
      ThreadInternal.ProcessStacks calls its argument twice for
      each thread -- the first time for the stack, the
      second time for its registers. *)


 

 

It makes sense to violate this assumption, for the current running thread.

But I guess there isn't anything to gain by doing that?

 

 

Thoughts?

 

I'll preserve this behavior, which I was otherwise on the verge of changing.

 

 

 - Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091122/55d0226b/attachment-0001.html>


More information about the M3devel mailing list