This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: need to focus on java performance?
Per Bothner writes:
> Bryce McKinlay wrote:
> > (there's also some runtime
> > access checking that occurs as part of reflection).
> > ... Andrew recently made an
> > improvement here that should reduce these checks significantly: the
> > compiler now passes the calling class directly to certain common
> > functions that need it.
>
> Does this include the reflection methods that need to check the
> caller? If not, that might be a worthwhile optimization.
Not yet. It's work in progress.
I'm going to use this technique everywhere it's appropriate.
Andrew.