GC statistics (was Re: big project ported)
Per Bothner
per@bothner.com
Tue Nov 2 16:36:00 GMT 1999
Tom Tromey <tromey@cygnus.com> writes:
> There has been one proposal to change the Class structure to use Java
> objects where possible, to make reflection code simpler (and there was
> some other reason I forgot). I don't know if we'll follow up on that
> or not.
There are various trade-offs pro/con, of course. I do suggest
as a pre-requisite first replacing Ut8Consts by java.lang.String
references; however, that requires a solution to the "intern"
problem. (I've mentioned various solutions before.)
If the intern problem is fixed, we also remove some of the
need for class initialization, and we can remove calls to
_Jv_InitClass from static methods of classes that do not
require initialization. This is relevant, because
initialization requires not only running <clinit>, but
also rsolving String literals and class references. If
we can do the latter two at link time, then a large
proportion of classes do not require initialization
or calls or _Jv_InitClass.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/
More information about the Java
mailing list