RFR (XS): 8043207: Add const to Address argument for Assembler::swap
David Chase
david.r.chase at oracle.com
Thu May 29 20:04:20 UTC 2014
Any testing? (and except for that issue, I, a non-Reviewer, approve)
On 2014-05-28, at 12:17 PM, Mikael Vidstedt <mikael.vidstedt at oracle.com> wrote:
> Please review the following fix which changes one of the Assembler::swap methods to take a *const* Address argument instead of a non-const. Some of the usages of the swap method pass a const argument, and when compiling with gcc the const-ness mismatch means the method cannot be resolved which in turn means a compilation error. This is for jdk7u (only) - the relevant code has been rewritten in jdk8+ to no longer have this problem.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8043207
> Webrev: http://cr.openjdk.java.net/~mikael/webrevs/8043207/webrev.00/webrev/
>
> Thanks,
> Mikael
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140529/21cc6ba8/signature.asc>
More information about the hotspot-compiler-dev
mailing list