JDK-8146613 : PPC64: C2 does no longer respect int to long conversion for stub calls
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc
  • Submitted: 2016-01-07
  • Updated: 2020-08-25
  • Resolved: 2016-01-11
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
9 b105Fixed
Related Reports
Relates :  
Description
PPC64: C2 does no longer respect int to long conversion for stub calls

Background:
8086069 removed too much code. Only the native wrapper performed the conversion after this change. However, it is required to convert ints to longs for all C calls.
8144466 reintroduced the platform variable CCallingConventionRequiresIntsAsLongs and the conversion for the runtime calls for which C2 calls shared C functions on PPC64.
Some PPC64 runtime functions which rely on proper 64 bit arguments are still called without conversion.

They can be adapted to no longer expect C2 to do the conversion.