{"action":"created","comment":{"url":"https://api.github.com/repos/mono/mono/pulls/comments/93152441","pull_request_review_id":13674229,"id":93152441,"diff_hunk":"@@ -210,6 +210,37 @@ workers_get_work (WorkerData *data)\n \treturn FALSE;\n }\n \n+static gboolean\n+workers_steal_work (WorkerData *data)\n+{\n+\tSgenMajorCollector *major;\n+\n+\tg_assert (sgen_gray_object_queue_is_empty (&data->private_gray_queue));\n+\n+\t/* If we're parallel, steal from other workers' private gray queues  */\n+\tmajor = sgen_get_major_collector ();\n+\tif (major->is_parallel) {\n+\t\tGrayQueueSection *section = NULL;\n+\t\tint current_worker = (int) (data - workers_data);\n+\t\tint i;\n+\n+\t\tfor (i = 1; i < workers_num && !section; i++) {\n+\t\t\tint steal_worker = (current_worker + i) % workers_num;\n+\t\t\tif (state_is_working_or_enqueued (workers_data [steal_worker].state))\n+\t\t\t\tsection = sgen_gray_object_steal_section (&workers_data [steal_worker].private_gray_queue);","path":"mono/sgen/sgen-workers.c","position":null,"original_position":21,"commit_id":"8fe65dd54cfed3ca88b4624f05bf371d275cb89e","original_commit_id":"fcfec5e1245fa016f62ddac7d5c45ab4f724f1de","user":{"login":"schani","id":61363,"avatar_url":"https://avatars.githubusercontent.com/u/61363?v=3","gravatar_id":"","url":"https://api.github.com/users/schani","html_url":"https://github.com/schani","followers_url":"https://api.github.com/users/schani/followers","following_url":"https://api.github.com/users/schani/following{/other_user}","gists_url":"https://api.github.com/users/schani/gists{/gist_id}","starred_url":"https://api.github.com/users/schani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schani/subscriptions","organizations_url":"https://api.github.com/users/schani/orgs","repos_url":"https://api.github.com/users/schani/repos","events_url":"https://api.github.com/users/schani/events{/privacy}","received_events_url":"https://api.github.com/users/schani/received_events","type":"User","site_admin":false},"body":"I'm pretty sure there should be a `break` here.","created_at":"2016-12-20T00:51:17Z","updated_at":"2016-12-20T00:51:18Z","html_url":"https://github.com/mono/mono/pull/3805#discussion_r93152441","pull_request_url":"https://api.github.com/repos/mono/mono/pulls/3805","_links":{"self":{"href":"https://api.github.com/repos/mono/mono/pulls/comments/93152441"},"html":{"href":"https://github.com/mono/mono/pull/3805#discussion_r93152441"},"pull_request":{"href":"https://api.github.com/repos/mono/mono/pulls/3805"}}},"pull_request":{"url":"https://api.github.com/repos/mono/mono/pulls/3805","id":90424873,"html_url":"https://github.com/mono/mono/pull/3805","diff_url":"https://github.com/mono/mono/pull/3805.diff","patch_url":"https://github.com/mono/mono/pull/3805.patch","issue_url":"https://api.github.com/repos/mono/mono/issues/3805","number":3805,"state":"open","locked":false,"title":"[wip] bench par","user":{"login":"BrzVlad","id":4720621,"avatar_url":"https://avatars.githubusercontent.com/u/4720621?v=3","gravatar_id":"","url":"https://api.github.com/users/BrzVlad","html_url":"https://github.com/BrzVlad","followers_url":"https://api.github.com/users/BrzVlad/followers","following_url":"https://api.github.com/users/BrzVlad/following{/other_user}","gists_url":"https://api.github.com/users/BrzVlad/gists{/gist_id}","starred_url":"https://api.github.com/users/BrzVlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrzVlad/subscriptions","organizations_url":"https://api.github.com/users/BrzVlad/orgs","repos_url":"https://api.github.com/users/BrzVlad/repos","events_url":"https://api.github.com/users/BrzVlad/events{/privacy}","received_events_url":"https://api.github.com/users/BrzVlad/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-21T18:34:21Z","updated_at":"2016-12-20T00:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"975260365186a41a18940feb64fd061aac62953f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mono/mono/pulls/3805/commits","review_comments_url":"https://api.github.com/repos/mono/mono/pulls/3805/comments","review_comment_url":"https://api.github.com/repos/mono/mono/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mono/mono/issues/3805/comments","statuses_url":"https://api.github.com/repos/mono/mono/statuses/8fe65dd54cfed3ca88b4624f05bf371d275cb89e","head":{"label":"BrzVlad:feature-parallel-gc-bench","ref":"feature-parallel-gc-bench","sha":"8fe65dd54cfed3ca88b4624f05bf371d275cb89e","user":{"login":"BrzVlad","id":4720621,"avatar_url":"https://avatars.githubusercontent.com/u/4720621?v=3","gravatar_id":"","url":"https://api.github.com/users/BrzVlad","html_url":"https://github.com/BrzVlad","followers_url":"https://api.github.com/users/BrzVlad/followers","following_url":"https://api.github.com/users/BrzVlad/following{/other_user}","gists_url":"https://api.github.com/users/BrzVlad/gists{/gist_id}","starred_url":"https://api.github.com/users/BrzVlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrzVlad/subscriptions","organizations_url":"https://api.github.com/users/BrzVlad/orgs","repos_url":"https://api.github.com/users/BrzVlad/repos","events_url":"https://api.github.com/users/BrzVlad/events{/privacy}","received_events_url":"https://api.github.com/users/BrzVlad/received_events","type":"User","site_admin":false},"repo":{"id":10743068,"name":"mono","full_name":"BrzVlad/mono","owner":{"login":"BrzVlad","id":4720621,"avatar_url":"https://avatars.githubusercontent.com/u/4720621?v=3","gravatar_id":"","url":"https://api.github.com/users/BrzVlad","html_url":"https://github.com/BrzVlad","followers_url":"https://api.github.com/users/BrzVlad/followers","following_url":"https://api.github.com/users/BrzVlad/following{/other_user}","gists_url":"https://api.github.com/users/BrzVlad/gists{/gist_id}","starred_url":"https://api.github.com/users/BrzVlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrzVlad/subscriptions","organizations_url":"https://api.github.com/users/BrzVlad/orgs","repos_url":"https://api.github.com/users/BrzVlad/repos","events_url":"https://api.github.com/users/BrzVlad/events{/privacy}","received_events_url":"https://api.github.com/users/BrzVlad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrzVlad/mono","description":"Mono open source ECMA CLI, C# and .NET implementation.","fork":true,"url":"https://api.github.com/repos/BrzVlad/mono","forks_url":"https://api.github.com/repos/BrzVlad/mono/forks","keys_url":"https://api.github.com/repos/BrzVlad/mono/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrzVlad/mono/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrzVlad/mono/teams","hooks_url":"https://api.github.com/repos/BrzVlad/mono/hooks","issue_events_url":"https://api.github.com/repos/BrzVlad/mono/issues/events{/number}","events_url":"https://api.github.com/repos/BrzVlad/mono/events","assignees_url":"https://api.github.com/repos/BrzVlad/mono/assignees{/user}","branches_url":"https://api.github.com/repos/BrzVlad/mono/branches{/branch}","tags_url":"https://api.github.com/repos/BrzVlad/mono/tags","blobs_url":"https://api.github.com/repos/BrzVlad/mono/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrzVlad/mono/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrzVlad/mono/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrzVlad/mono/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrzVlad/mono/statuses/{sha}","languages_url":"https://api.github.com/repos/BrzVlad/mono/languages","stargazers_url":"https://api.github.com/repos/BrzVlad/mono/stargazers","contributors_url":"https://api.github.com/repos/BrzVlad/mono/contributors","subscribers_url":"https://api.github.com/repos/BrzVlad/mono/subscribers","subscription_url":"https://api.github.com/repos/BrzVlad/mono/subscription","commits_url":"https://api.github.com/repos/BrzVlad/mono/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrzVlad/mono/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrzVlad/mono/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrzVlad/mono/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrzVlad/mono/contents/{+path}","compare_url":"https://api.github.com/repos/BrzVlad/mono/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrzVlad/mono/merges","archive_url":"https://api.github.com/repos/BrzVlad/mono/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrzVlad/mono/downloads","issues_url":"https://api.github.com/repos/BrzVlad/mono/issues{/number}","pulls_url":"https://api.github.com/repos/BrzVlad/mono/pulls{/number}","milestones_url":"https://api.github.com/repos/BrzVlad/mono/milestones{/number}","notifications_url":"https://api.github.com/repos/BrzVlad/mono/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrzVlad/mono/labels{/name}","releases_url":"https://api.github.com/repos/BrzVlad/mono/releases{/id}","deployments_url":"https://api.github.com/repos/BrzVlad/mono/deployments","created_at":"2013-06-17T17:40:26Z","updated_at":"2016-11-02T15:24:43Z","pushed_at":"2016-12-16T19:29:01Z","git_url":"git://github.com/BrzVlad/mono.git","ssh_url":"git@github.com:BrzVlad/mono.git","clone_url":"https://github.com/BrzVlad/mono.git","svn_url":"https://github.com/BrzVlad/mono","homepage":"http://www.mono-project.com/","size":429346,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mono:master","ref":"master","sha":"0226d3397c2dd3a01c8e800ae211209867ff6d52","user":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":791611,"name":"mono","full_name":"mono/mono","owner":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mono/mono","description":"Mono open source ECMA CLI, C# and .NET implementation.","fork":false,"url":"https://api.github.com/repos/mono/mono","forks_url":"https://api.github.com/repos/mono/mono/forks","keys_url":"https://api.github.com/repos/mono/mono/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/mono/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/mono/teams","hooks_url":"https://api.github.com/repos/mono/mono/hooks","issue_events_url":"https://api.github.com/repos/mono/mono/issues/events{/number}","events_url":"https://api.github.com/repos/mono/mono/events","assignees_url":"https://api.github.com/repos/mono/mono/assignees{/user}","branches_url":"https://api.github.com/repos/mono/mono/branches{/branch}","tags_url":"https://api.github.com/repos/mono/mono/tags","blobs_url":"https://api.github.com/repos/mono/mono/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/mono/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/mono/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/mono/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/mono/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/mono/languages","stargazers_url":"https://api.github.com/repos/mono/mono/stargazers","contributors_url":"https://api.github.com/repos/mono/mono/contributors","subscribers_url":"https://api.github.com/repos/mono/mono/subscribers","subscription_url":"https://api.github.com/repos/mono/mono/subscription","commits_url":"https://api.github.com/repos/mono/mono/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/mono/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/mono/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/mono/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/mono/contents/{+path}","compare_url":"https://api.github.com/repos/mono/mono/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/mono/merges","archive_url":"https://api.github.com/repos/mono/mono/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/mono/downloads","issues_url":"https://api.github.com/repos/mono/mono/issues{/number}","pulls_url":"https://api.github.com/repos/mono/mono/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/mono/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/mono/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/mono/labels{/name}","releases_url":"https://api.github.com/repos/mono/mono/releases{/id}","deployments_url":"https://api.github.com/repos/mono/mono/deployments","created_at":"2010-07-22T18:06:36Z","updated_at":"2016-12-19T12:51:38Z","pushed_at":"2016-12-20T00:40:55Z","git_url":"git://github.com/mono/mono.git","ssh_url":"git@github.com:mono/mono.git","clone_url":"https://github.com/mono/mono.git","svn_url":"https://github.com/mono/mono","homepage":"http://www.mono-project.com/","size":432193,"stargazers_count":5129,"watchers_count":5129,"language":"C#","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2462,"mirror_url":null,"open_issues_count":149,"forks":2462,"open_issues":149,"watchers":5129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mono/mono/pulls/3805"},"html":{"href":"https://github.com/mono/mono/pull/3805"},"issue":{"href":"https://api.github.com/repos/mono/mono/issues/3805"},"comments":{"href":"https://api.github.com/repos/mono/mono/issues/3805/comments"},"review_comments":{"href":"https://api.github.com/repos/mono/mono/pulls/3805/comments"},"review_comment":{"href":"https://api.github.com/repos/mono/mono/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mono/mono/pulls/3805/commits"},"statuses":{"href":"https://api.github.com/repos/mono/mono/statuses/8fe65dd54cfed3ca88b4624f05bf371d275cb89e"}}}}
{"actor":{"display_login":"schani"}}