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

Vladimir Kozlov vladimir.kozlov at
Thu Jul 5 12:43:26 PDT 2012

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 debug info

Tested with failed test.


More information about the hotspot-compiler-dev mailing list