RFR: 8194406: Use Atomic::replace_if_null

David Holmes david.holmes at oracle.com
Wed Jan 3 04:41:44 UTC 2018


Hi Kim,

On 3/01/2018 2:02 PM, Kim Barrett wrote:
> Please review this change to use Atomic::replace_if_null where
> applicable.
> 
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8194406
> 
> Webrev:
> http://cr.openjdk.java.net/~kbarrett/8194406/open.00/

Looks good, but I also see:

./share/utilities/bitMap.cpp:    if (Atomic::cmpxchg(table, 
&_pop_count_table, (BitMap::idx_t*)NULL) != NULL) {

Thanks,
David

> Testing:
> Mach5 hs-tier1,2,3
> 


More information about the hotspot-dev mailing list