RFR: 8189333: Fix Zero build after Atomic::xchg changes

David Holmes david.holmes at oracle.com
Sun Oct 15 21:32:26 UTC 2017


Hi Roman,

On 16/10/2017 7:12 AM, Roman Kennke wrote:
> Zero debug build has been broken by: JDK-8187977: Generalize 
> Atomic::xchg to use templates.
> 
> This patch fixes it by casting the unsigned literal to jint:
> 
> http://cr.openjdk.java.net/~rkennke/8189333/webrev.00/ 
> <http://cr.openjdk.java.net/%7Erkennke/8189333/webrev.00/>

Looks fine.

I can push this for you straight away (relatively speaking :) ) under 
the trivial rule.

Thanks,
David

> Tested by building zero fastdebug and running some small test programs.
> 
> Ok?
> 
> 
> Roman
> 


More information about the hotspot-dev mailing list