[threeten-dev] #263 performance of getAvailableChronologies

Stephen Colebourne scolebourne at joda.org
Fri Apr 26 16:39:26 PDT 2013


Shouldn't the boolean init flag be volatile? Otherwise looks ok.
Stephen

On 26 April 2013 21:35, roger riggs <roger.riggs at oracle.com> wrote:
> Please Review:
>
> A startup time concern [1] is the initialization of all of the
> HijrahChronologies
> whether they are used by an application or not.  This change delays
> reading the HijrahChronology specific data until the first time it is
> needed.
>
> Webrev:
>    http://cr.openjdk.java.net/~rriggs/webrev-chrono-init-263/
>
> Roger
>
> [1] https://github.com/ThreeTen/threeten/issues/263


More information about the threeten-dev mailing list