This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: Speed up array allocation
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Speed up array allocation
- From: Tom Tromey <tromey at redhat dot com>
- Date: 05 Jan 2001 14:05:42 -0700
- Cc: java-patches at sources dot redhat dot com
- References: <3A556FCB.58FBBAC7@albatross.co.nz>
- Reply-To: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> This patch introduces a new class field, "arrayclass", in which
Bryce> a pointer to the array class representing an array of itself is
Bryce> kept.
BTW this patch is fine by me. Alex will have to approve the compiler
part.
Won't we have to remove the overloading of the methods field at some
point? Can't we use reflection to query an array class about the
methods it supports? If so we'll need the methods field to be correct
to avoid confusing the reflection code.
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.
Tom