Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix GetGenerationWithRange when we have a gen 2 object in the ephemer…
…al segment
  • Loading branch information
cshung committed Oct 8, 2021
commit cdd2251796e8cbebde8bfd8bb9e8c67fba7091a2
1 change: 1 addition & 0 deletions src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43371,6 +43371,7 @@ unsigned int GCHeap::GetGenerationWithRange (Object* object, uint8_t** ppStart,
}
if (generation == -1)
{
generation = max_generation;
*ppStart = heap_segment_mem (hs);
*ppAllocated = *ppReserved = generation_allocation_start (hp->generation_of (max_generation - 1));
}
Expand Down