[cp-patches] RFC: Move exception handling out of common case: java.util.Vector/ArrayList

Ian Rogers rogers.email at gmail.com
Fri Apr 25 23:07:45 UTC 2008


Hi,

the attached patch moves exception handling code out of the common case 
for elementAt of both java.util.Vector and java.util.elementAt, this 
helps JIT compilation inline the common non-exception throwing case (and 
avoid expense incurred by considering StringBuilders, etc.). Other than 
fixing coding convention issues, are there any objections to this change?

Thanks,
Ian
--
http://www.cs.man.ac.uk/~irogers/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: classpath-cvs.RVM-451.patch
Url: http://developer.classpath.org/pipermail/classpath-patches/attachments/20080425/9c925dce/attachment.txt 


More information about the Classpath-patches mailing list