Request for reviews (S): 7052494: Eclipse test fails on JDK 7 b142
vladimir.kozlov at oracle.com
Fri Jun 17 16:57:02 PDT 2011
This is for 7u2.
Fixed 7052494: Eclipse test fails on JDK 7 b142
New code in 5091921 fix incorrectly replaces loop test 'ne' with 'lt' (and with
'gt' for negative stride). As result loop's body is not executed when initial
value > limit. Note, such loops are terminated usually by other checks inside
loop's body (for example, range checks).
Keep 'ne' test when we can't guarantee during compilation that init < limit.
Regression test is added.
Tested with Eclipse tests.
More information about the hotspot-compiler-dev