Improve inlining & scalar replacement

Description

https://sourceforge.net/p/x10/code/29248 hand-inlined key pieces of BlokcingUtils into Foreach to avoid the creation of temporary objects. It really should be feasible for us to optimize this pattern in the X10 compiler via a combination of inlining and scalar replacement. These optimizations were implemented in Jikes RVM back in 1999 for exactly this kind of code pattern, so it should not be too much to ask the X10 optimizer to handle this case...

Environment

None

Status

Assignee

Unassigned

Reporter

DaveG

Labels

None

Components

Fix versions

Priority

Medium
Configure