big project ported
Bryce McKinlay
bryce@albatross.co.nz
Mon Oct 25 18:20:00 GMT 1999
Jeff Sturm wrote:
> I'd like to know:
>> - how often the collector runs
> - how long (on average) the collector runs
> - how many objects (total) are allocated
> - average allocation size
>> ...among other things. the first two are loosely reported by the
> -verbosegc option of the JDK. I don't know if there are appropriate
> hooks in the Boehm collector offhand. The last two measurements can be
> done in libgcj proper.
If you compile gc with -DPRINTSTATS and/or -DPRINTTIMES it should will give you
some of this information.
regards
[ bryce ]
More information about the Java
mailing list