Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a broken build with STRESS_DYNAMIC_HEAP_COUNT enabled #105507

Merged
merged 4 commits into from
Aug 8, 2024
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
3 changes: 2 additions & 1 deletion src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25693,7 +25693,6 @@ void gc_heap::calculate_new_heap_count ()

assert (new_n_heaps >= 1);
assert (new_n_heaps <= actual_n_max_heaps);
#endif //STRESS_DYNAMIC_HEAP_COUNT

if (process_eph_samples_p)
{
Expand All @@ -25720,6 +25719,8 @@ void gc_heap::calculate_new_heap_count ()
dynamic_heap_count_data.processed_gen2_samples_count = dynamic_heap_count_data.current_gen2_samples_count;
}

#endif //STRESS_DYNAMIC_HEAP_COUNT

if (new_n_heaps != n_heaps)
{
dprintf (6666, ("GC#%Id should change! %d->%d (%s)",
Expand Down
Loading