17 references to s_notifications
System.Private.CoreLib (17)
src\System\GC.CoreCLR.cs (17)
595lock (s_notifications) 605int count = s_notifications.Count; 619if (s_notifications[i].LowMemoryPercent <= s_previousMemoryLoad && s_previousMemoryLoad <= s_notifications[i].HighMemoryPercent 620&& !(s_notifications[i].LowMemoryPercent <= currentMemoryLoad && currentMemoryLoad <= s_notifications[i].HighMemoryPercent)) 622s_notifications[i].Notification(); 627s_notifications[last++] = s_notifications[i]; 633s_notifications.RemoveRange(last, count - last); 656lock (s_notifications) 658s_notifications.Add(new MemoryLoadChangeNotification(lowMemoryPercent, highMemoryPercent, notification)); 660if (s_notifications.Count == 1) 769lock (s_notifications) 771for (int i = 0; i < s_notifications.Count; ++i) 773if (s_notifications[i].Notification == notification) 775s_notifications.RemoveAt(i);