[Openmcl-devel] Checking ivector space use

Jon S. Anthony j-anthony at comcast.net
Mon Mar 15 10:57:37 PDT 2010


On Mon, 2010-03-15 at 13:00 -0400, R. Matthew Emerson wrote:
> On Mar 15, 2010, at 11:13 AM, Jon S. Anthony wrote:
> 
> > Is there any "standard" way to check up on ivector (which I suppose
> > really means foreign memory) use?
> 
> I assume you mean heap-ivectors, as created by MAKE-HEAP-IVECTOR.  (An ivector is a type of uvector that contains only immediate data.)  These heap-ivectors reside in memory allocated via malloc, so any tools you have that can tell you about the malloc heap would apply.

Yes, I now see that just "ivector" is not clear at all.

> >  I tried room, heap-utilization, and
> > time, and none report anything about this.  Since the GC pays no
> > attention to this stuff, that makes some sense.  But maybe there's
> > something I'm missing.
> 
> I don't think there is anything specifically for that.  Presumably something could walk ccl::*heap-ivectors* and figure something out...
> 
> [hacks for a while]
> 
> Update to r13533 and try CCL::HEAP-IVECTOR-UTILIZATION.
> 

Will try!  Thanks!

/Jon

PS: Gary, I will double and triple check info on updating via the trunk!






More information about the Openmcl-devel mailing list