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: RFC: Tell do_allocate_static_fields which fields to allocate


Andrew> It mimics the technique used when allocating an interpreted class.
Andrew> It's all rather complicated, but that's hard to avoid as long as we
Andrew> want to continue to support the "old" BC-ABI.

Yeah, I think this is the way it has to go.  Otherwise we would have
to find a way to mark those fields, which is a pain since their
storage is in the wrong place.

Bryce> Instead of duplicating it, couldn't this code actually be shared with
Bryce> the interpreter?

This sounds like a reasonable suggestion to me.
It is nice when we can reduce the number of cases in the linker -- it
is already super complex.

Tom


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