JDK-6948602 : Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-04-29
  • Updated: 2010-11-16
  • Resolved: 2010-05-18
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
6u21Fixed 7Fixed hs17Fixed
Related Reports
Relates :  
Description
Disable use of SSE4.2 instruction "pcmpestri" in String.indexOf intrinsic until 6942326 is fixed.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hsx17/master/rev/9d9e74a1628e
05-05-2010

EVALUATION http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/9d9e74a1628e
30-04-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ae8f909e5fc7
30-04-2010

SUGGESTED FIX diff -r 0a43776437b6 src/share/vm/opto/library_call.cpp --- a/src/share/vm/opto/library_call.cpp Thu Apr 08 12:13:07 2010 -0700 +++ b/src/share/vm/opto/library_call.cpp Fri Apr 09 13:17:46 2010 -0700 @@ -1174,7 +1174,8 @@ bool LibraryCallKit::inline_string_index Node* result; if (Matcher::has_match_rule(Op_StrIndexOf) && - UseSSE42Intrinsics) { + // Disable SSE4.2 version until 6942326 is fixed. + false && UseSSE42Intrinsics) { // Generate SSE4.2 version of indexOf // We currently only have match rules that use SSE4.2
29-04-2010

EVALUATION Work around the problem for now.
29-04-2010