5 writes to _lastEvictedTimestamp
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\ReflectionEmitCachingMemberAccessor.Cache.cs (5)
26
_lastEvictedTimestamp
= Stopwatch.GetTimestamp();
38
if (Stopwatch.GetElapsedTime(Volatile.Read(ref
_lastEvictedTimestamp
), nowTimestamp) >= _evictionInterval)
42
if (Stopwatch.GetElapsedTime(Volatile.Read(ref
_lastEvictedTimestamp
), nowTimestamp) >= _evictionInterval)
45
Volatile.Write(ref
_lastEvictedTimestamp
, nowTimestamp);
58
Volatile.Write(ref
_lastEvictedTimestamp
, Stopwatch.GetTimestamp());