This is the mail archive of the java-patches@sources.redhat.com 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]

Re: Speed up array allocation


Bryce> Perhaps we need to special case array classes in the reflection
Bryce> code? Methods for an array class always == methods for object
Bryce> class.

That would certainly work.  It requires changing a lot of places in
natClass.cc, at least, though.  I imagine it will end up being a
fairly ugly change.

>> BTW could you remove the comment about how methods is used for a
>> primitive class?  I believe with your patch that part of the
>> comment is wrong.

Bryce> The comments from natClassLoader.cc should be gone. Are there
Bryce> others somewhere?

There is a sentence in Class.h just before the methods field that
mentions this.

Tom

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