RFR (XS): 8043207: Add const to Address argument for Assembler::swap

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed May 28 17:23:48 UTC 2014



On 5/28/14 9:17 AM, Mikael Vidstedt 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

More information about the hotspot-compiler-dev mailing list