Don't dump memory map in crash report when modular GC enabled

MMTk reserves a large amount of memory, which can cause the memory maps
to take a long time to generate and thus cause test timeouts.
This commit is contained in:
Peter Zhu 2026-06-09 14:47:45 +09:00
parent b3b2492947
commit a0ceb1fed4
Notes: git 2026-06-09 06:25:05 +00:00

View File

@ -1530,7 +1530,7 @@ rb_vm_bugreport(const void *ctx, FILE *errout)
}
{
#ifndef RUBY_ASAN_ENABLED
#if !defined(RUBY_ASAN_ENABLED) && !USE_MODULAR_GC
# ifdef PROC_MAPS_NAME
{
FILE *fp = fopen(PROC_MAPS_NAME, "r");