Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
GH-126491: GC: Mark objects reachable from roots before doing cycle collection#127110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bedevere-bot commentedNov 21, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit698abb3 🤖 If you want to schedule another build, you need to add the🔨 test-with-buildbots label again. |
!buildbot Android |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit6d8a0d4 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot Android |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commitd9632c6 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot Android |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit0702959 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot iOS |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit0702959 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
FTR: |
!buildbot Android |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commiteaea41e 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot iOS |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commiteaea41e 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot iOS |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit79ab26c 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot Android |
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit79ab26c 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
bedevere-bot commentedNov 22, 2024
🤖 New build scheduled with the buildbot fleet by@markshannon for commit79ab26c 🤖 If you want to schedule another build, you need to add the🔨 test-with-refleak-buildbots label again. |
Performance shows a ~3% speedup. The results appear noisier than usual, so might be worth repeating, but they are roughly inline with results for earlier versions of this PR. |
@@ -329,6 +334,7 @@ struct _gc_runtime_state { | |||
Py_ssize_t work_to_do; | |||
/* Which of the old spaces is the visited space */ | |||
int visited_space; | |||
int phase; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Maybe this can be rolled into thecollecting
field (like 0 for not collecting, 1 for MARK, 2 for COLLECT)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Perhaps, but not very cleanly.
The phase depends on where we are in a full heap scavenge. The collecting flag will flip many times during a scavenge, for incremental collections.
markshannon commentedDec 2, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
All the buildbots that failed were failing on main due to unrelated issues (the Windows 10 bot may have been fixed since) |
a8dd821
intopython:mainUh oh!
There was an error while loading.Please reload this page.
… doing cycle collection (pythonGH-127110)"This reverts commita8dd821.
…e doing cycle collection (pythonGH-127110)"This reverts commit2923163.
… doing cycle collection (pythonGH-127110)"This reverts commita8dd821.
…ycle collection (pythonGH-127110)* Mark almost all reachable objects before doing collection phase* Add stats for objects marked* Visit new frames before each increment* Update docs* Clearer calculation of work to do.
…ycle collection (pythonGH-127110)* Mark almost all reachable objects before doing collection phase* Add stats for objects marked* Visit new frames before each increment* Update docs* Clearer calculation of work to do.
Uh oh!
There was an error while loading.Please reload this page.
This is an updated version of#126502
It differs as follows: