This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Implement Class.getSigners


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 prims.cc:_Jv_InitPrimClass().  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.


Regards,

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]