JDK-8081284 : Basic string intrinsics for Sparc
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • CPU: sparc,sparc_64
  • Submitted: 2015-05-27
  • Updated: 2015-05-27
  • Resolved: 2015-05-27
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 9
9Fixed
Description
We need to adapt the following string related intrinsics on Sparc to compact strings: 
- String.equals 
- String.compareTo
- StringCoderLatin1.toBytes0 (inline_string_copy(true), StrCompressedCopy, string_compress) 
- StringCoderLatin1.toChars0 (inline_string_copy(false), StrInflatedCopy, string_inflate) 

We currently don't have an intrinsic for String.indexOf. We may add it later if performance results suggest that we need it with compressed strings.
Comments
JDK-8054307-branch: First prototype of string intrinsics for Sparc. http://cr.openjdk.java.net/~thartmann/sd/sparc/webrev.01/ http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/dd2ae0340517
27-05-2015