Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146613

PPC64: C2 does no longer respect int to long conversion for stub calls

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b105
    • CPU:
      ppc

      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.

        Attachments

          Activity

            People

            • Assignee:
              mdoerr Martin Doerr
              Reporter:
              mdoerr Martin Doerr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: