United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6827605 new String intrinsics may prevent EA scalar replacement
JDK-6827605 : new String intrinsics may prevent EA scalar replacement

Details
Type:
Enhancement
Submit Date:
2009-04-08
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2009-09-09
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs16
Fixed Versions:
hs16 (b09)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hsx16/baseline/rev/e502d7524e3a
                                     
2009-08-26
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.
                                     
2009-08-26
EVALUATION

http://hg.openjdk.java.net/hsx/hsx16/master/rev/e502d7524e3a
                                     
2009-09-04
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/62001a362ce9
                                     
2009-09-15



Hardware and Software, Engineered to Work Together