diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/profiler.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/profiler.c b/src/profiler.c index 81b5e7b0cf0..8247b2e90c6 100644 --- a/src/profiler.c +++ b/src/profiler.c | |||
| @@ -505,6 +505,9 @@ Before returning, a new log is allocated for future samples. */) | |||
| 505 | void | 505 | void |
| 506 | malloc_probe (size_t size) | 506 | malloc_probe (size_t size) |
| 507 | { | 507 | { |
| 508 | if (EQ (backtrace_top_function (), QAutomatic_GC)) /* bug#60237 */ | ||
| 509 | /* FIXME: We should do something like what we did with `cpu_gc_count`. */ | ||
| 510 | return; | ||
| 508 | eassert (HASH_TABLE_P (memory_log)); | 511 | eassert (HASH_TABLE_P (memory_log)); |
| 509 | record_backtrace (XHASH_TABLE (memory_log), min (size, MOST_POSITIVE_FIXNUM)); | 512 | record_backtrace (XHASH_TABLE (memory_log), min (size, MOST_POSITIVE_FIXNUM)); |
| 510 | } | 513 | } |