RFR(XS): 8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
Vladimir Kozlov
vladimir.kozlov at oracle.com
Fri Apr 12 10:43:23 PDT 2013
Roland,
The fix is correct, only movq instruction can load 64bit immediate
value. I looked on other instructions (in x86_64.ad and x86.ad) with
immL parameter and all of them use movq only. Could you double check?
Also remove unused "enc_class Con64" to avoid its usage by accident.
Thanks,
Vladimir
On 4/12/13 9:09 AM, Roland Westrelin wrote:
> http://cr.openjdk.java.net/~roland/8011901/webrev.00/
>
> 64 bit on x86 xaddL_no_res shouldn't allow a 64 bit constant: it's not supported by the architecture.
>
> Roland.
>
More information about the hotspot-compiler-dev
mailing list