Request for reviews (XS): 7123926: Some CTW test crash: !_control.contains(ctrl)

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jul 5 13:37:52 PDT 2012


Vladimir Kozlov wrote:
> http://cr.openjdk.java.net/~kvn/7123926/webrev
> 
> 7123926: Some CTW test crash: !_control.contains(ctrl)
> 
> Don't try to eliminate Integer::toString() call node during String 
> concatenation optimization if it's result has several uses.
> 
> Eliminate case:
>   foo (Integer intob) {
>     String str = "int: " + intobj;
> 
> Keep case:
>   foo (Integer intob) {
>     String intstr = intobj.toString();
>     String str = "int: " + intobj; // second use is in SB allocation 

Sorry, it should be: "int: " + intstr;

Vladimir

> debug info
> 
> Tested with failed test.
> 
> Thanks,
> Vladimir


More information about the hotspot-compiler-dev mailing list