JDK-6827605 : new String intrinsics may prevent EA scalar replacement
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-04-08
  • Updated: 2010-04-03
  • Resolved: 2009-09-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14pFixed 7Fixed hs15Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Non-escaping new String object is not scalar replaceable if it referenced by new ideal nodes StrIndexOf, StrEquals
which were introduced with changes for 6761600.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/62001a362ce9

EVALUATION http://hg.openjdk.java.net/hsx/hsx16/master/rev/e502d7524e3a

PUBLIC COMMENTS Problem: New String.indexOf SSE4.2 intrinsic prevents EA scalar replacement of String object clone in the famous hot jbb code in Orderline.process: stockData.indexOf("ORIGINAL") Solution: I did not have time to implement full fix in HS16. So it is forward port of the fix in HS15.

EVALUATION http://hg.openjdk.java.net/hsx/hsx16/baseline/rev/e502d7524e3a