--- old/src/hotspot/share/gc/g1/g1StringDedup.cpp 2017-10-13 11:45:28.913263833 -0400 +++ new/src/hotspot/share/gc/g1/g1StringDedup.cpp 2017-10-13 11:45:28.353668203 -0400 @@ -210,5 +210,5 @@ // access by the current thread. Returns the table bucket number where // the claimed partition starts. size_t G1StringDedupUnlinkOrOopsDoClosure::claim_table_partition(size_t partition_size) { - return (size_t)Atomic::add(partition_size, &_next_bucket) - partition_size; + return Atomic::add(partition_size, &_next_bucket) - partition_size; }