Patch: Implement Class.getSigners

Bryce McKinlay
Thu Oct 9 23:58:00 GMT 2003

On Oct 10, 2003, at 12:03 PM, Tom Tromey wrote:

> Bryce> Shouldn't we get rid of _Jv_InitClassFields? There doesn't seem 
> to be
> Bryce> a need to set all these fields, because _Jv_AllocObject does 
> that
> Bryce> anyway.
> We also call it from  That call seems to
> be actually needed.  There's probably a better way to do this.

Since these are static-storage allocated they should also be 
zero-initialized, right? Or is that not guaranteed on all platforms?

> I'd really like it if we got rid of the requirement to add a new
> clause to the marker every time we add a field to Class.  Forgetting
> this has caused bugs for us before.

Yeah. I guess we'll have to come up with something to handle the 
marking if we're going to put class fields into the class objects for 
the new ABI. Its pretty ugly at the moment with all the special cases 
in there.



More information about the Java-patches mailing list