1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00

Disable verify_committed_bytes for segments (#105102)

This commit is contained in:
Andrew Au 2024-07-23 13:45:02 -07:00 committed by GitHub
parent f644110e47
commit 2c99cc5f2b
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -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