@@ -953,29 +953,6 @@ void gc_time_sweep_pause(uint64_t gc_end_t, int64_t actual_allocd,
953
953
jl_ns2ms (gc_postmark_end - gc_premark_end ),
954
954
sweep_full ? "full" : "quick" , - gc_num .allocd / 1024 );
955
955
}
956
-
957
- void gc_time_summary (int sweep_full , uint64_t start , uint64_t end ,
958
- uint64_t freed , uint64_t live , uint64_t interval ,
959
- uint64_t pause , uint64_t ttsp , uint64_t mark ,
960
- uint64_t sweep )
961
- {
962
- if (sweep_full > 0 )
963
- jl_safe_printf ("TS: %" PRIu64 " Major collection: estimate freed = %" PRIu64
964
- " live = %" PRIu64 "m new interval = %" PRIu64
965
- "m time = %" PRIu64 "ms ttsp = %" PRIu64 "us mark time = %"
966
- PRIu64 "ms sweep time = %" PRIu64 "ms \n" ,
967
- end , freed , live /1024 /1024 ,
968
- interval /1024 /1024 , pause /1000000 , ttsp ,
969
- mark /1000000 ,sweep /1000000 );
970
- else
971
- jl_safe_printf ("TS: %" PRIu64 " Minor collection: estimate freed = %" PRIu64
972
- " live = %" PRIu64 "m new interval = %" PRIu64 "m pause time = %"
973
- PRIu64 "ms ttsp = %" PRIu64 "us mark time = %" PRIu64
974
- "ms sweep time = %" PRIu64 "ms \n" ,
975
- end , freed , live /1024 /1024 ,
976
- interval /1024 /1024 , pause /1000000 , ttsp ,
977
- mark /1000000 ,sweep /1000000 );
978
- }
979
956
#endif
980
957
981
958
void jl_gc_debug_init (void )
@@ -1219,7 +1196,7 @@ JL_DLLEXPORT void jl_enable_gc_logging(int enable) {
1219
1196
gc_logging_enabled = enable ;
1220
1197
}
1221
1198
1222
- void _report_gc_finished (uint64_t pause , uint64_t freed , int full , int recollect , int64_t live_bytes ) JL_NOTSAFEPOINT {
1199
+ void _report_gc_finished (uint64_t pause , uint64_t freed , int full , int recollect ) JL_NOTSAFEPOINT {
1223
1200
if (!gc_logging_enabled ) {
1224
1201
return ;
1225
1202
}
@@ -1228,16 +1205,6 @@ void _report_gc_finished(uint64_t pause, uint64_t freed, int full, int recollect
1228
1205
full ? "full" : "incr" ,
1229
1206
recollect ? "recollect" : ""
1230
1207
);
1231
-
1232
- jl_safe_printf ("Heap stats: bytes_mapped %.2f MB, bytes_resident %.2f MB,\nheap_size %.2f MB, heap_target %.2f MB, Fragmentation %.3f\n" ,
1233
- jl_atomic_load_relaxed (& gc_heap_stats .bytes_mapped )/(double )(1 <<20 ),
1234
- jl_atomic_load_relaxed (& gc_heap_stats .bytes_resident )/(double )(1 <<20 ),
1235
- // live_bytes/(double)(1<<20), live byes tracking is not accurate.
1236
- jl_atomic_load_relaxed (& gc_heap_stats .heap_size )/(double )(1 <<20 ),
1237
- jl_atomic_load_relaxed (& gc_heap_stats .heap_target )/(double )(1 <<20 ),
1238
- (double )live_bytes /(double )jl_atomic_load_relaxed (& gc_heap_stats .heap_size )
1239
- );
1240
- // Should fragmentation use bytes_resident instead of heap_size?
1241
1208
}
1242
1209
1243
1210
#ifdef __cplusplus
0 commit comments