Skip to content

Commit c897a13

Browse files
authored
Add the actual datatype to the heapsnapshot. This groups objects of the same type together (#56596)
1 parent 6cb9f04 commit c897a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gc-heap-snapshot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ size_t record_node_to_gc_snapshot(jl_value_t *a) JL_NOTSAFEPOINT
380380
ios_mem(&str_, 0);
381381
JL_STREAM* str = (JL_STREAM*)&str_;
382382
jl_static_show(str, (jl_value_t*)type);
383-
383+
node_type = StringRef((const char*)str_.buf, str_.size);
384384
name = StringRef((const char*)str_.buf, str_.size);
385385
}
386386

0 commit comments

Comments
 (0)