overhead of reflection info
Jeff Sturm
jsturm@one-point.com
Wed Feb 25 18:42:00 GMT 2004
On 25 Feb 2004, Tom Tromey wrote:
> >>>>> "Hans" == Boehm, Hans <hans.boehm@hp.com> writes:
>> Hans> There is a claim in _Jv_MarkObj comments that some data
> Hans> structures referenced from class objects are allocated
> Hans> pointerfree (even though they are not?) but then traced
> Hans> correctly by _Jv_MarkObj. If this is indeed still correct, this
> Hans> would have to be looked at carefully.
>> Oh, yeah -- _Jv_MarkObj is always used for Class objects.
But only classes loaded from bytecode, right? Those might not matter for
a minimal runtime stripped of reflection info, interpreter, etc.
I think compiled classes are still traced conservatively.
Jeff
More information about the Java
mailing list