JDK-8005522 : use fast-string instructions on x86 for zeroing
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86
  • Submitted: 2012-12-26
  • Updated: 2013-06-26
  • Resolved: 2013-01-04
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 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Related Reports
Relates :  
Description
New x86 processors enhanced the operation of the REP MOVSB and REP STOSB instructions. A processors supports these enhancements if CPUID.(EAX=07H, ECX=0H):EBX[bit 9] is 1 (ERMS bit). VM uses stosq/stosd instructions to zero new java objects, replace them with fast-string stosb instructions when they are available. Note: we can't use REP MOVSB for arraycopy because it is not JMM compliant (not atomic and out of order).