This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
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