17 references to s_notifications
System.Private.CoreLib (17)
src\System\GC.CoreCLR.cs (17)
600lock (s_notifications) 611int count = s_notifications.Count; 626if (s_notifications[i].LowMemoryPercent <= s_previousMemoryLoad && s_previousMemoryLoad <= s_notifications[i].HighMemoryPercent 627&& !(s_notifications[i].LowMemoryPercent <= currentMemoryLoad && currentMemoryLoad <= s_notifications[i].HighMemoryPercent)) 629s_notifications[i].Notification(); 634s_notifications[last++] = s_notifications[i]; 640s_notifications.RemoveRange(last, count - last); 663lock (s_notifications) 665s_notifications.Add(new MemoryLoadChangeNotification(lowMemoryPercent, highMemoryPercent, notification)); 667if (s_notifications.Count == 1) 775lock (s_notifications) 777for (int i = 0; i < s_notifications.Count; ++i) 779if (s_notifications[i].Notification == notification) 781s_notifications.RemoveAt(i);