RFR(M): 8146613: PPC64: C2 does no longer respect int to long conversion for stub calls

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jan 7 21:21:36 UTC 2016


Looks fine to me.

Thanks,
Vladimir

On 1/7/16 5:55 AM, Doerr, Martin wrote:
> Hi,
>
> I have created a webrev which introduces int to long conversion in PPC64 functions which are called by C2 runtime calls.
>
> I also added assertions to arraycopy stubs which are already called correctly.
>
> 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 and some runtime 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.
>
> Webrev is here:
>
> http://cr.openjdk.java.net/~mdoerr/8146613_ppc64_int2long/webrev.00/
>
> It only touches PPC64 files.
>
> Please review and sponsor.
>
> Best regards,
>
> Martin
>


More information about the hotspot-compiler-dev mailing list