internal void NotifyPostGC(ProfileRootsDelegate profileRoots, ProfileObjectsDelegate profileObjects) { this.profileRoots = profileRoots; this.profileObjects = profileObjects; PostGC(); }
internal override void SetProfiler(GCProfiler profiler) { if (GcProfiler != null) { throw new InvalidOperationException("Only one GCProfiler can be active in a process"); } ProfileRoots = new ProfileRootsDelegate(ProfileScanRoots); ProfileObjects = new ProfileObjectsDelegate(ProfileScanObjects); GcProfiler = profiler; }