Skip to content

Commit

Permalink
Update src/gc-alloc-profiler.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
  • Loading branch information
NHDaly and vtjnash authored Feb 17, 2022
1 parent e7fe3fb commit 77d401f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gc-alloc-profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 77d401f

Please sign in to comment.