JDK-8139421 : PPC64LE: MacroAssembler::bxx64_patchable kills register R12
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc
  • Submitted: 2015-10-12
  • Updated: 2016-10-24
  • Resolved: 2015-10-13
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 8 JDK 9 Other
8u101Fixed 9 b89Fixed openjdk7uFixed
Description
Register R12 must be preserved for stub calls (e.g. deopt handler).

There is no easy test for this issue.
It showed in our tests after we ported C1, which caused new, different
execution behaviour.  It depends on compiler optimizations as register allocation.  Nevertheless it's an obvious violation of register constraints.