We're updating the issue view to help you get more done. 

Structure of code in GNU Classpath java.util.Vector and java.util.Arraylist interacts poorly with inlining

Description

The checkBoundExclusive and checkBoundInclusive helper methods of these classes are poorly designed for use with Jikes RVM's opt compiler. Because we don't do partial method inlniing, we either don't inline the bounds check (bad idea) or we do inline the bounds check and also inline the various String Builder operations, exception allocation, and throw. I'm testing a patch that corrects this using our usual pattern of pushing the exceptional code out into a helper method. Opening the JIRA item so I can have a number to use to name the patch in our build process...

Environment

None

Status

Assignee

Ian Rogers

Reporter

DaveG

Labels

None

External issue ID

None

Components

Fix versions

Priority

Low