GC statistics (was Re: big project ported)

Tom Reilly treilly@allaire.com
Wed Oct 27 09:07:00 GMT 1999


Jeff Sturm <jsturm@sigma6.com> writes:

> My code is greatly affected by the frequency of allocation, not the
> overall size.

This is a shot in the dark but would it be possible to reduce the work
the garbage collector has to do by allocating temporary objects that
live within the scope of a method call on the stack?  It'd be
interesting to see some statistics on what percentage of objects
created in a typical Java program are temporary objects.  I'd suspect
its pretty high.

Do any VM's do this?

--
Tom Reilly
Allaire Corp.
http://www.allaire.com


More information about the Java mailing list