RFR(M): 8146613: PPC64: C2 does no longer respect int to long conversion for stub calls
Doerr, Martin
martin.doerr at sap.com
Thu Jan 7 13:55:10 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160107/81cc37ca/attachment.html>
More information about the hotspot-compiler-dev
mailing list