need to focus on java performance?

Andrew Haley aph@redhat.com
Wed May 24 09:31:00 GMT 2006


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.



More information about the Java mailing list