Skip to content

Commit

Permalink
Disable verify_committed_bytes for segments (#105102)
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung committed Jul 23, 2024
1 parent f644110 commit 2c99cc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33890,8 +33890,8 @@ void gc_heap::plan_phase (int condemned_gen_number)
}
#endif //FEATURE_EVENT_TRACE

#if defined(_DEBUG)
verify_committed_bytes ();
#ifdef _DEBUG
verify_committed_bytes ();
#endif // _DEBUG

#ifdef MULTIPLE_HEAPS
Expand Down Expand Up @@ -47426,6 +47426,10 @@ void gc_heap::verify_committed_bytes_per_heap()

void gc_heap::verify_committed_bytes()
{
#ifndef USE_REGIONS
// TODO, https://github.com/dotnet/runtime/issues/102706, re-enable the testing after fixing this bug
return;
#endif //!USE_REGIONS
size_t total_committed = 0;
size_t committed_decommit; // unused
size_t committed_free; // unused
Expand Down

0 comments on commit 2c99cc5

Please sign in to comment.