Hi Claes, this looks like a good idea, too. I'll try to take care of it after the Charset.atBugLevel() is done.
Best regards Christoph > -----Original Message----- > From: Claes Redestad [mailto:claes.redes...@oracle.com] > Sent: Mittwoch, 28. Juni 2017 10:58 > To: Langer, Christoph <christoph.lan...@sap.com>; Kazunori Ogata > <oga...@jp.ibm.com> > Cc: Alan Bateman <alan.bate...@oracle.com>; core-libs-dev <core-libs- > d...@openjdk.java.net>; nio-...@openjdk.java.net; ppc-aix-port- > d...@openjdk.java.net > Subject: Re: 8179527: Ineffective use of volatile hurts performance of > Charset.atBugLevel() > > Looks good to me, pending CSR approval. > > Additionally, maybe this is a good opportunity to re-examine the very > similarly implemented sun.nio.ch.bugLevel used in sun.nio.ch.Util and > sun.nio.ch.SelectorImpl? > > As a separate bug, of course. > > /Claes >