We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b2c3ab commit 2c39875Copy full SHA for 2c39875
src/gc-heap-snapshot.cpp
@@ -226,9 +226,9 @@ size_t record_node_to_gc_snapshot(jl_value_t *a) JL_NOTSAFEPOINT {
226
: (size_t)jl_datatype_size(type);
227
228
// print full type
229
- // TODO: We _definitely_ have types longer than 1024 bytes....
+ // TODO(PR): Is it possible to use a variable size string here, instead??
230
ios_t str_;
231
- ios_mem(&str_, 1024);
+ ios_mem(&str_, 1048576); // 1 MiB
232
JL_STREAM* str = (JL_STREAM*)&str_;
233
234
jl_static_show(str, (jl_value_t*)type);
0 commit comments