From a0ceb1fed46cd34214b1bddcfbb57fdb245604bd Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 9 Jun 2026 14:47:45 +0900 Subject: [PATCH] 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. --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_dump.c b/vm_dump.c index 00b03ff58d..6f1e179873 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -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");