JDK-8171974 : Fix for R10 Register clobbering with usage of ExternalAddress
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86
  • Submitted: 2016-12-23
  • Updated: 2020-08-27
  • Resolved: 2017-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 10 JDK 8 JDK 9
10Fixed 8u241Fixed 9 b156Fixed
I've flipped this to jdk8u-needs-deps as the main meat of it is fixing the use of rscratch1 in the code introduced by JDK-8143925. This should be re-proposed for review once JDK-8143925 is either in or rejected.

Fix-request (8u): This fixes a serious issue. Fix is similar to jdk9 fix, but leaves out the parts that are not yet present in jdk8u. Review thread and patch: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-July/012297.html

Updated webrev: http://cr.openjdk.java.net/~vdeshpande/8171974/webrev.01/

webrev for the fix: http://cr.openjdk.java.net/~vdeshpande/8171974/webrev.00/