Skip to content

Commit

Permalink
The min address within the segment should be computed using max (#47926)
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung committed Feb 6, 2021
1 parent 525c43e commit 0429344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22139,7 +22139,7 @@ void gc_heap::background_process_mark_overflow_internal (uint8_t* min_add, uint8
if (heap_segment_overflow_p (seg))
{
assert (!concurrent_p);
current_min_add = min (heap_segment_mem (seg), min_add);
current_min_add = max (heap_segment_mem (seg), min_add);
current_max_add = min (heap_segment_allocated (seg), max_add);
}
#endif //USE_REGIONS
Expand Down

0 comments on commit 0429344

Please sign in to comment.