@@ -2734,9 +2734,9 @@ static void copy_roots(jl_method_t *dest, jl_array_t *newroots)
2734
2734
// copy any new roots
2735
2735
if (newroots && dest -> newrootsindex == INT32_MAX ) {
2736
2736
assert (jl_is_array (newroots ));
2737
- jl_printf (JL_STDOUT , "copying %ld roots for " , jl_array_len (newroots ));
2738
- jl_ (dest );
2739
- jl_printf (JL_STDOUT , "dest newrootsindex: %d; roots length %ld\n" , dest -> newrootsindex , dest -> roots ? jl_array_len (dest -> roots ) : 0 );
2737
+ // jl_printf(JL_STDOUT, "copying %ld roots for ", jl_array_len(newroots));
2738
+ // jl_(dest);
2739
+ // jl_printf(JL_STDOUT, "dest newrootsindex: %d; roots length %ld\n", dest->newrootsindex, dest->roots ? jl_array_len(dest->roots) : 0);
2740
2740
// The roots may have references to recached items, fix that
2741
2741
size_t i , len = jl_array_len (newroots );
2742
2742
for (i = 0 ; i < len ; i ++ ) {
@@ -2778,7 +2778,7 @@ static void recompress_cis(jl_array_t *list)
2778
2778
jl_array_t * srcs = jl_alloc_vec_any (0 );
2779
2779
for (i = 0 ; i < n ; i ++ ) {
2780
2780
jl_method_instance_t * mi = (jl_method_instance_t * )jl_array_ptr_ref (list , i );
2781
- jl_ (mi );
2781
+ // jl_(mi);
2782
2782
assert (jl_is_method_instance (mi ));
2783
2783
jl_method_t * m = mi -> def .method ;
2784
2784
assert (jl_is_method (m ));
@@ -2972,13 +2972,13 @@ static jl_value_t *_jl_restore_incremental(ios_t *f, jl_array_t *mod_array)
2972
2972
jl_value_t * ext_mis = jl_deserialize_value (& s , & ext_mis );
2973
2973
currently_deserializing = 1 ;
2974
2974
jl_printf (JL_STDOUT , "Length of ext_mis: %ld\n" , jl_array_len (ext_mis ));
2975
- jl_ (ext_mis );
2975
+ // jl_(ext_mis);
2976
2976
jl_printf (JL_STDOUT , "Length of flagref: %ld\n" , flagref_list .len );
2977
2977
2978
2978
// get list of external generic functions
2979
2979
jl_value_t * external_methods = jl_deserialize_value (& s , & external_methods );
2980
- jl_printf (JL_STDOUT , "external_methods:\n" );
2981
- jl_ (external_methods );
2980
+ // jl_printf(JL_STDOUT, "external_methods:\n");
2981
+ // jl_(external_methods);
2982
2982
jl_printf (JL_STDOUT , "Length of flagref: %ld\n" , flagref_list .len );
2983
2983
// check_unique(&flagref_list, 0, 2);
2984
2984
jl_value_t * external_backedges = jl_deserialize_value (& s , & external_backedges );
@@ -3040,9 +3040,11 @@ static jl_value_t *_jl_restore_incremental(ios_t *f, jl_array_t *mod_array)
3040
3040
jl_gc_enable (en ); // subtyping can allocate a lot, not valid before recache-other
3041
3041
3042
3042
jl_insert_backedges ((jl_array_t * )external_backedges , (jl_array_t * )external_edges ); // restore external backedges (needs to be last)
3043
+ jl_printf (JL_STDOUT , "Done inserting backedges\n" );
3043
3044
3044
3045
// check new CodeInstances and validate any that lack external backedges
3045
3046
validate_new_code_instances ();
3047
+ jl_printf (JL_STDOUT , "Done validating code instances\n" );
3046
3048
3047
3049
serializer_worklist = NULL ;
3048
3050
htable_free (& new_code_instance_validate );
0 commit comments