Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the actual datatype to the heapsnapshot. This groups objects of the same type together #56596

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add the actual datatype to the heapsnapshot. This groups objects of t…
…he same type together
  • Loading branch information
gbaraldi authored Nov 18, 2024
commit a7dcea30f96817f4b072a0db8298af29dc0e395d
2 changes: 1 addition & 1 deletion src/gc-heap-snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ size_t record_node_to_gc_snapshot(jl_value_t *a) JL_NOTSAFEPOINT
ios_mem(&str_, 0);
JL_STREAM* str = (JL_STREAM*)&str_;
jl_static_show(str, (jl_value_t*)type);

node_type = StringRef((const char*)str_.buf, str_.size);
name = StringRef((const char*)str_.buf, str_.size);
}

Expand Down