Hi,

On 2018-04-30 23:50, David Holmes wrote:
Hi Claes,

On 30/04/2018 10:49 PM, Claes Redestad wrote:
Webrev: http://cr.openjdk.java.net/~redestad/8187123/open.02/

Given String's are immune to unsafe publication races, you should be able to drop the volatile modifiers. That might save a few more cycles.

Done. The volatile would help reduce racy creation of multiple String for the same thing, but probably better on the whole to avoid a volatile read and write.

/Claes

Reply via email to