RFR 8198997: Cache normalized/resolved user.dir property
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Mar 12 18:56:15 UTC 2018
Hi Clase,
Thanks for the helpful observations. Given this information I would be inclined to agree with your suggested approach.
Brian
On Mar 12, 2018, at 11:53 AM, Claes Redestad <claes.redestad at oracle.com> wrote:
> I expect the original user.dir property to be kept resident in memory by System.properties
> (thus no memory loss), and going from a boolean field to an Object reference field on an
> object that I expect to be a singleton(?) is unlikely to be a footprint concern[1].
>
> /Claes
>
> [1] Chances are the two approaches are footprint neutral on most archs due to padding.
More information about the core-libs-dev
mailing list