JDK-8081285 : Improve performance of string compression on 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-06-16
  • Resolved: 2015-06-16
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.
We need to improve performance of string construction (compression) on Sparc. The existing intrinsic for StringCoderLatin1.toBytes0 is not good enough. See attached "performance.txt".
JDK-8054307-branch: Improved string compression intrinsic on Sparc using VIS instructions. http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/6995032fd6f9

Prototype using VIS instructions: http://cr.openjdk.java.net/~thartmann/sd/sparc/compress/webrev.01/