Skip to content

Commit bc88c63

Browse files
committed
Do not emit string content in heap snapshots
1 parent 5a904ac commit bc88c63

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
@@ -327,7 +327,7 @@ size_t record_node_to_gc_snapshot(jl_value_t *a) JL_NOTSAFEPOINT
327327

328328
if (jl_is_string(a)) {
329329
node_type = "String";
330-
name = jl_string_data(a);
330+
name = "<redacted>";
331331
self_size = jl_string_len(a);
332332
}
333333
else if (jl_is_symbol(a)) {

0 commit comments

Comments
 (0)