From 77d401f9d87c572ee7022de4761db83892b0bf50 Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Wed, 16 Feb 2022 22:54:16 -0500 Subject: [PATCH] Update src/gc-alloc-profiler.cpp Co-authored-by: Jameson Nash --- src/gc-alloc-profiler.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gc-alloc-profiler.cpp b/src/gc-alloc-profiler.cpp index 3ad55e80e9eac..4846d7f7f7fb1 100644 --- a/src/gc-alloc-profiler.cpp +++ b/src/gc-alloc-profiler.cpp @@ -65,9 +65,6 @@ jl_raw_backtrace_t get_raw_backtrace() JL_NOTSAFEPOINT { jl_bt_element_t *bt_data = (jl_bt_element_t*) malloc(bt_bytes); memcpy(bt_data, shared_bt_data_buffer, bt_bytes); - // Now, "clear" the ptls buffer, so that this buffer isn't incorrectly rooting objects - // in that buffer. - ptls->bt_size = 0; return jl_raw_backtrace_t{ bt_data,