JDK-6948602 : Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P2
  • Affected Version: hs17
  • OS: generic
  • CPU: generic
  • Submit Date: 2010-04-29
  • Updated Date: 2010-11-16
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u21Resolved 7Fixed
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
2010-05-05

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

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

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
2010-04-29

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