Flight Log / microsoft/perfview #2211
Fix null reference exception in GenFragmentationPercent method — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/perfview on May 23, 2025; merged clean in 4.5 d, merged by @brianrob: +5 −0, 2 files, 3 reviews.
- Lines
- +5 −0
- Files
- 2
- Commits
- 2
- Reviews
- 3
- To merge
- 4.5 d
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot, working in microsoft/perfview, takes a fix task: a null reference exception in GenFragmentationPercent when HeapStats is null. The diff has five additions and zero deletions across two files in two commits. The record shows three reviews, zero change requests, and zero review comments. It merged clean after 108.41 hours, one review round.
From the pull request description
This PR fixes a null reference exception that can occur in the `GenFragmentationPercent(Gens gen)` method when `HeapStats` is null. ## Issue The `GenFragmentationPercent` method calls `GenSizeAfterMB`, which accesses properties on `HeapStats` without checking if it's null, causing a null reference …
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —reviewed
- May 27, 2025mergedbrianrob
- May 27, 2025closedbrianrob
Read next
Cite this flight: AgentRiders Flight Log, microsoft/perfview#2211, record updated Nov 4, 2026, https://agentriders.com/logs/microsoft/perfview/2211/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.