Commit 951919f5 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #4687: Fix accuracy of garbage collection runtimes displayed with

gc.DEBUG_STATS.
parent b0153cf7
......@@ -31,6 +31,9 @@ Core and Builtins
Library
-------
- Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
- Issue #7192: webbrowser.get("firefox") now wors on Mac OS X, as does
webbrowser.get("safari").
......
......@@ -837,13 +837,13 @@ collect(int generation)
}
if (debug & DEBUG_STATS) {
t1 = get_time();
PySys_WriteStderr("gc: collecting generation %d...\n",
generation);
PySys_WriteStderr("gc: objects in each generation:");
for (i = 0; i < NUM_GENERATIONS; i++)
PySys_WriteStderr(" %" PY_FORMAT_SIZE_T "d",
gc_list_size(GEN_HEAD(i)));
t1 = get_time();
PySys_WriteStderr("\n");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment