{"action":"closed","number":1753,"pull_request":{"url":"https://api.github.com/repos/micropython/micropython/pulls/1753","id":54620372,"html_url":"https://github.com/micropython/micropython/pull/1753","diff_url":"https://github.com/micropython/micropython/pull/1753.diff","patch_url":"https://github.com/micropython/micropython/pull/1753.patch","issue_url":"https://api.github.com/repos/micropython/micropython/issues/1753","number":1753,"state":"closed","locked":false,"title":"py/gc: Improve mark/sweep debug output.","user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"body":"Previously, mark operation weren't logged at all, while it's quite useful\r\nto see cascade of marks in case of over-marking (and in other cases too).\r\nPreviously, sweep was logged for each block of object in memory, but that\r\ndoesn't make much sense and just lead to longer output, harder to parse\r\nby a human. Instead, log sweep only once per object. This is similar to\r\nother memory manager operations, e.g. an object is allocated, then freed.\r\nOr object is allocated, then marked, otherwise swept (one log entry per\r\noperation, with the same memory address in each case).","created_at":"2015-12-27T16:46:19Z","updated_at":"2015-12-27T18:41:05Z","closed_at":"2015-12-27T18:41:05Z","merged_at":null,"merge_commit_sha":"0729c9375f542d35ebdf60457b72b99a2c642a03","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/micropython/micropython/pulls/1753/commits","review_comments_url":"https://api.github.com/repos/micropython/micropython/pulls/1753/comments","review_comment_url":"https://api.github.com/repos/micropython/micropython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1753/comments","statuses_url":"https://api.github.com/repos/micropython/micropython/statuses/ea81a643054a1b17157fca7cb841985f5959db35","head":{"label":"pfalcon:gc-mark-sweep","ref":"gc-mark-sweep","sha":"ea81a643054a1b17157fca7cb841985f5959db35","user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"repo":{"id":15507576,"name":"micropython","full_name":"pfalcon/micropython","owner":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pfalcon/micropython","description":"The Micro Python project","fork":true,"url":"https://api.github.com/repos/pfalcon/micropython","forks_url":"https://api.github.com/repos/pfalcon/micropython/forks","keys_url":"https://api.github.com/repos/pfalcon/micropython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pfalcon/micropython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pfalcon/micropython/teams","hooks_url":"https://api.github.com/repos/pfalcon/micropython/hooks","issue_events_url":"https://api.github.com/repos/pfalcon/micropython/issues/events{/number}","events_url":"https://api.github.com/repos/pfalcon/micropython/events","assignees_url":"https://api.github.com/repos/pfalcon/micropython/assignees{/user}","branches_url":"https://api.github.com/repos/pfalcon/micropython/branches{/branch}","tags_url":"https://api.github.com/repos/pfalcon/micropython/tags","blobs_url":"https://api.github.com/repos/pfalcon/micropython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pfalcon/micropython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pfalcon/micropython/git/refs{/sha}","trees_url":"https://api.github.com/repos/pfalcon/micropython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pfalcon/micropython/statuses/{sha}","languages_url":"https://api.github.com/repos/pfalcon/micropython/languages","stargazers_url":"https://api.github.com/repos/pfalcon/micropython/stargazers","contributors_url":"https://api.github.com/repos/pfalcon/micropython/contributors","subscribers_url":"https://api.github.com/repos/pfalcon/micropython/subscribers","subscription_url":"https://api.github.com/repos/pfalcon/micropython/subscription","commits_url":"https://api.github.com/repos/pfalcon/micropython/commits{/sha}","git_commits_url":"https://api.github.com/repos/pfalcon/micropython/git/commits{/sha}","comments_url":"https://api.github.com/repos/pfalcon/micropython/comments{/number}","issue_comment_url":"https://api.github.com/repos/pfalcon/micropython/issues/comments{/number}","contents_url":"https://api.github.com/repos/pfalcon/micropython/contents/{+path}","compare_url":"https://api.github.com/repos/pfalcon/micropython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pfalcon/micropython/merges","archive_url":"https://api.github.com/repos/pfalcon/micropython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pfalcon/micropython/downloads","issues_url":"https://api.github.com/repos/pfalcon/micropython/issues{/number}","pulls_url":"https://api.github.com/repos/pfalcon/micropython/pulls{/number}","milestones_url":"https://api.github.com/repos/pfalcon/micropython/milestones{/number}","notifications_url":"https://api.github.com/repos/pfalcon/micropython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pfalcon/micropython/labels{/name}","releases_url":"https://api.github.com/repos/pfalcon/micropython/releases{/id}","created_at":"2013-12-29T11:38:47Z","updated_at":"2015-05-05T21:12:46Z","pushed_at":"2015-12-27T16:45:19Z","git_url":"git://github.com/pfalcon/micropython.git","ssh_url":"git@github.com:pfalcon/micropython.git","clone_url":"https://github.com/pfalcon/micropython.git","svn_url":"https://github.com/pfalcon/micropython","homepage":null,"size":22886,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"micropython:master","ref":"master","sha":"fce0036a67eb35b2ecb3fbf24ce43eb3feb12b02","user":{"login":"micropython","id":6298560,"avatar_url":"https://avatars.githubusercontent.com/u/6298560?v=3","gravatar_id":"","url":"https://api.github.com/users/micropython","html_url":"https://github.com/micropython","followers_url":"https://api.github.com/users/micropython/followers","following_url":"https://api.github.com/users/micropython/following{/other_user}","gists_url":"https://api.github.com/users/micropython/gists{/gist_id}","starred_url":"https://api.github.com/users/micropython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micropython/subscriptions","organizations_url":"https://api.github.com/users/micropython/orgs","repos_url":"https://api.github.com/users/micropython/repos","events_url":"https://api.github.com/users/micropython/events{/privacy}","received_events_url":"https://api.github.com/users/micropython/received_events","type":"Organization","site_admin":false},"repo":{"id":15337142,"name":"micropython","full_name":"micropython/micropython","owner":{"login":"micropython","id":6298560,"avatar_url":"https://avatars.githubusercontent.com/u/6298560?v=3","gravatar_id":"","url":"https://api.github.com/users/micropython","html_url":"https://github.com/micropython","followers_url":"https://api.github.com/users/micropython/followers","following_url":"https://api.github.com/users/micropython/following{/other_user}","gists_url":"https://api.github.com/users/micropython/gists{/gist_id}","starred_url":"https://api.github.com/users/micropython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micropython/subscriptions","organizations_url":"https://api.github.com/users/micropython/orgs","repos_url":"https://api.github.com/users/micropython/repos","events_url":"https://api.github.com/users/micropython/events{/privacy}","received_events_url":"https://api.github.com/users/micropython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/micropython/micropython","description":"MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems","fork":false,"url":"https://api.github.com/repos/micropython/micropython","forks_url":"https://api.github.com/repos/micropython/micropython/forks","keys_url":"https://api.github.com/repos/micropython/micropython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micropython/micropython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micropython/micropython/teams","hooks_url":"https://api.github.com/repos/micropython/micropython/hooks","issue_events_url":"https://api.github.com/repos/micropython/micropython/issues/events{/number}","events_url":"https://api.github.com/repos/micropython/micropython/events","assignees_url":"https://api.github.com/repos/micropython/micropython/assignees{/user}","branches_url":"https://api.github.com/repos/micropython/micropython/branches{/branch}","tags_url":"https://api.github.com/repos/micropython/micropython/tags","blobs_url":"https://api.github.com/repos/micropython/micropython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micropython/micropython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micropython/micropython/git/refs{/sha}","trees_url":"https://api.github.com/repos/micropython/micropython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micropython/micropython/statuses/{sha}","languages_url":"https://api.github.com/repos/micropython/micropython/languages","stargazers_url":"https://api.github.com/repos/micropython/micropython/stargazers","contributors_url":"https://api.github.com/repos/micropython/micropython/contributors","subscribers_url":"https://api.github.com/repos/micropython/micropython/subscribers","subscription_url":"https://api.github.com/repos/micropython/micropython/subscription","commits_url":"https://api.github.com/repos/micropython/micropython/commits{/sha}","git_commits_url":"https://api.github.com/repos/micropython/micropython/git/commits{/sha}","comments_url":"https://api.github.com/repos/micropython/micropython/comments{/number}","issue_comment_url":"https://api.github.com/repos/micropython/micropython/issues/comments{/number}","contents_url":"https://api.github.com/repos/micropython/micropython/contents/{+path}","compare_url":"https://api.github.com/repos/micropython/micropython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micropython/micropython/merges","archive_url":"https://api.github.com/repos/micropython/micropython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micropython/micropython/downloads","issues_url":"https://api.github.com/repos/micropython/micropython/issues{/number}","pulls_url":"https://api.github.com/repos/micropython/micropython/pulls{/number}","milestones_url":"https://api.github.com/repos/micropython/micropython/milestones{/number}","notifications_url":"https://api.github.com/repos/micropython/micropython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micropython/micropython/labels{/name}","releases_url":"https://api.github.com/repos/micropython/micropython/releases{/id}","created_at":"2013-12-20T11:47:07Z","updated_at":"2015-12-26T18:40:58Z","pushed_at":"2015-12-27T18:40:47Z","git_url":"git://github.com/micropython/micropython.git","ssh_url":"git@github.com:micropython/micropython.git","clone_url":"https://github.com/micropython/micropython.git","svn_url":"https://github.com/micropython/micropython","homepage":"","size":37115,"stargazers_count":2551,"watchers_count":2551,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":510,"mirror_url":null,"open_issues_count":203,"forks":510,"open_issues":203,"watchers":2551,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/micropython/micropython/pulls/1753"},"html":{"href":"https://github.com/micropython/micropython/pull/1753"},"issue":{"href":"https://api.github.com/repos/micropython/micropython/issues/1753"},"comments":{"href":"https://api.github.com/repos/micropython/micropython/issues/1753/comments"},"review_comments":{"href":"https://api.github.com/repos/micropython/micropython/pulls/1753/comments"},"review_comment":{"href":"https://api.github.com/repos/micropython/micropython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/micropython/micropython/pulls/1753/commits"},"statuses":{"href":"https://api.github.com/repos/micropython/micropython/statuses/ea81a643054a1b17157fca7cb841985f5959db35"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}