Skip to content

Commit

Permalink
Do not emit string content in heap snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
kpamnany committed Jul 31, 2024
1 parent 5a904ac commit bc88c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc-heap-snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ size_t record_node_to_gc_snapshot(jl_value_t *a) JL_NOTSAFEPOINT

if (jl_is_string(a)) {
node_type = "String";
name = jl_string_data(a);
name = "<redacted>";
self_size = jl_string_len(a);
}
else if (jl_is_symbol(a)) {
Expand Down

0 comments on commit bc88c63

Please sign in to comment.