diff options
author | Tarek Mahmoud Sayed <tarekms@microsoft.com> | 2016-11-04 13:15:17 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-11-04 13:15:17 -0700 |
commit | 342ba49767ebd256f1adf449b9cfd51de8e1d03f (patch) | |
tree | 175d526d7f280668309d1c3d9831b3dfb4ab3e19 /src/jit/ssabuilder.cpp | |
parent | 76a1373b73ce420ba0acc6ad5ce3288d18deb84c (diff) | |
download | coreclr-342ba49767ebd256f1adf449b9cfd51de8e1d03f.tar.gz coreclr-342ba49767ebd256f1adf449b9cfd51de8e1d03f.tar.bz2 coreclr-342ba49767ebd256f1adf449b9cfd51de8e1d03f.zip |
make the returning of DTFI & NFI in CultureInfo atomic (#7998)
we got some cases when more than one thread trying to get DTFI or NFI from the shared current culture object which can result returning different instances.
Although the returning object contents will be exactly but it'll be better to return same instance as apps may assume that. also returning the same instance will help reduce reinitializing more deeper fields when get requested.
Diffstat (limited to 'src/jit/ssabuilder.cpp')
0 files changed, 0 insertions, 0 deletions