diff --git a/src/coreclr/gc/gc.cpp b/src/coreclr/gc/gc.cpp index 7f41750d55336..5300786bcecd7 100644 --- a/src/coreclr/gc/gc.cpp +++ b/src/coreclr/gc/gc.cpp @@ -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 @@ -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