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.redes...@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.

Reply via email to