Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
951919f5
Kaydet (Commit)
951919f5
authored
May 02, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
üst
b0153cf7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
Misc/NEWS
+3
-0
gcmodule.c
Modules/gcmodule.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
951919f5
...
@@ -31,6 +31,9 @@ Core and Builtins
...
@@ -31,6 +31,9 @@ Core and Builtins
Library
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
- Issue #7192: webbrowser.get("firefox") now wors on Mac OS X, as does
webbrowser.get("safari").
webbrowser.get("safari").
...
...
Modules/gcmodule.c
Dosyayı görüntüle @
951919f5
...
@@ -837,13 +837,13 @@ collect(int generation)
...
@@ -837,13 +837,13 @@ collect(int generation)
}
}
if
(
debug
&
DEBUG_STATS
)
{
if
(
debug
&
DEBUG_STATS
)
{
t1
=
get_time
();
PySys_WriteStderr
(
"gc: collecting generation %d...
\n
"
,
PySys_WriteStderr
(
"gc: collecting generation %d...
\n
"
,
generation
);
generation
);
PySys_WriteStderr
(
"gc: objects in each generation:"
);
PySys_WriteStderr
(
"gc: objects in each generation:"
);
for
(
i
=
0
;
i
<
NUM_GENERATIONS
;
i
++
)
for
(
i
=
0
;
i
<
NUM_GENERATIONS
;
i
++
)
PySys_WriteStderr
(
" %"
PY_FORMAT_SIZE_T
"d"
,
PySys_WriteStderr
(
" %"
PY_FORMAT_SIZE_T
"d"
,
gc_list_size
(
GEN_HEAD
(
i
)));
gc_list_size
(
GEN_HEAD
(
i
)));
t1
=
get_time
();
PySys_WriteStderr
(
"
\n
"
);
PySys_WriteStderr
(
"
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment