class metadata (was Re: GCJ information)

Bryce McKinlay bryce@waitaki.otago.ac.nz
Fri Dec 14 00:37:00 GMT 2001


Per Bothner wrote
> (We may want a separate per-class array for static fields, with the
> pointer fields (except for RawData) first, for the sake of GC.) 

Yeah, thats another thing that will help out towards 
weak-linking/no-assume-compiled. In that case static fields would be 
accessed via a class pointer rather than C++ symbol.
It would be interesting to know how long the GC spends scanning static 
roots, and if it would help much if class objects were the only static 
roots. That would place additional restrictions on CNI (dont keep Java 
references in fields not defined in Java) , but I don't think thats a 
big problem.
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /