[Openmcl-devel] Checking ivector space use

R. Matthew Emerson rme at clozure.com
Mon Mar 15 10:00:53 PDT 2010

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.

>  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.

More information about the Openmcl-devel mailing list