{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/coreclr/pulls/comments/42140767","id":42140767,"diff_hunk":"@@ -611,6 +612,24 @@ void GCToEEInterface::GcDone(int condemned)\n #endif // FEATURE_COMINTEROP\n }\n \n+bool GCToEEInterface::RefCountedHandleCallbacks(Object * pObject)\n+{\n+    CONTRACTL\n+    {\n+        NOTHROW;\n+        GC_NOTRIGGER;\n+    }\n+    CONTRACTL_END;\n+\n+#ifdef FEATURE_COMINTEROP\n+    //<REVISIT_TODO>@todo optimize the access to the ref-count\n+    ComCallWrapper* pWrap = ComCallWrapper::GetWrapperForObject((OBJECTREF)pObject);\n+    _ASSERTE(pWrap != NULL);\n+\n+    return !!pWrap->IsWrapperActive();\n+#endif","path":"src/vm/gcenv.cpp","position":null,"original_position":27,"commit_id":"38034a26ff4e40e98d1af32abe5baef2c3eeea52","original_commit_id":"30795c77364e626b241a39a0091f01576bb55995","user":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars.githubusercontent.com/u/6668460?v=3","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2015-10-15T15:40:03Z","updated_at":"2015-10-15T15:40:03Z","html_url":"https://github.com/dotnet/coreclr/pull/1773#discussion_r42140767","pull_request_url":"https://api.github.com/repos/dotnet/coreclr/pulls/1773","_links":{"self":{"href":"https://api.github.com/repos/dotnet/coreclr/pulls/comments/42140767"},"html":{"href":"https://github.com/dotnet/coreclr/pull/1773#discussion_r42140767"},"pull_request":{"href":"https://api.github.com/repos/dotnet/coreclr/pulls/1773"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/coreclr/pulls/1773","id":47791699,"html_url":"https://github.com/dotnet/coreclr/pull/1773","diff_url":"https://github.com/dotnet/coreclr/pull/1773.diff","patch_url":"https://github.com/dotnet/coreclr/pull/1773.patch","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/1773","number":1773,"state":"open","locked":false,"title":"Cleanup GC-EE Interface","user":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars.githubusercontent.com/u/6668460?v=3","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"body":"- Add proper abstractions for threading methods to GCToEEInterface\r\n- Split sample gcenv into multiple files to avoid redundant content\r\n- Add handle table methods needed by .NET Native WinRT implementation\r\n\r\nPart of #1550","created_at":"2015-10-15T14:14:50Z","updated_at":"2015-10-15T15:40:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed3be48739e9d68475077ed347f5dc51d1844c4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/coreclr/pulls/1773/commits","review_comments_url":"https://api.github.com/repos/dotnet/coreclr/pulls/1773/comments","review_comment_url":"https://api.github.com/repos/dotnet/coreclr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/1773/comments","statuses_url":"https://api.github.com/repos/dotnet/coreclr/statuses/38034a26ff4e40e98d1af32abe5baef2c3eeea52","head":{"label":"jkotas:gcee-cleanup","ref":"gcee-cleanup","sha":"38034a26ff4e40e98d1af32abe5baef2c3eeea52","user":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars.githubusercontent.com/u/6668460?v=3","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"repo":{"id":30278571,"name":"coreclr","full_name":"jkotas/coreclr","owner":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars.githubusercontent.com/u/6668460?v=3","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jkotas/coreclr","description":"This repo contains the .NET Core runtime, called CoreCLR. It is an execution engine for .NET apps, performing functions such as IL byte code loading, compilation to machine code and garbage collection. The repo contains the complete up-to-date CoreCLR codebase.","fork":true,"url":"https://api.github.com/repos/jkotas/coreclr","forks_url":"https://api.github.com/repos/jkotas/coreclr/forks","keys_url":"https://api.github.com/repos/jkotas/coreclr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jkotas/coreclr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jkotas/coreclr/teams","hooks_url":"https://api.github.com/repos/jkotas/coreclr/hooks","issue_events_url":"https://api.github.com/repos/jkotas/coreclr/issues/events{/number}","events_url":"https://api.github.com/repos/jkotas/coreclr/events","assignees_url":"https://api.github.com/repos/jkotas/coreclr/assignees{/user}","branches_url":"https://api.github.com/repos/jkotas/coreclr/branches{/branch}","tags_url":"https://api.github.com/repos/jkotas/coreclr/tags","blobs_url":"https://api.github.com/repos/jkotas/coreclr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jkotas/coreclr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jkotas/coreclr/git/refs{/sha}","trees_url":"https://api.github.com/repos/jkotas/coreclr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jkotas/coreclr/statuses/{sha}","languages_url":"https://api.github.com/repos/jkotas/coreclr/languages","stargazers_url":"https://api.github.com/repos/jkotas/coreclr/stargazers","contributors_url":"https://api.github.com/repos/jkotas/coreclr/contributors","subscribers_url":"https://api.github.com/repos/jkotas/coreclr/subscribers","subscription_url":"https://api.github.com/repos/jkotas/coreclr/subscription","commits_url":"https://api.github.com/repos/jkotas/coreclr/commits{/sha}","git_commits_url":"https://api.github.com/repos/jkotas/coreclr/git/commits{/sha}","comments_url":"https://api.github.com/repos/jkotas/coreclr/comments{/number}","issue_comment_url":"https://api.github.com/repos/jkotas/coreclr/issues/comments{/number}","contents_url":"https://api.github.com/repos/jkotas/coreclr/contents/{+path}","compare_url":"https://api.github.com/repos/jkotas/coreclr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jkotas/coreclr/merges","archive_url":"https://api.github.com/repos/jkotas/coreclr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jkotas/coreclr/downloads","issues_url":"https://api.github.com/repos/jkotas/coreclr/issues{/number}","pulls_url":"https://api.github.com/repos/jkotas/coreclr/pulls{/number}","milestones_url":"https://api.github.com/repos/jkotas/coreclr/milestones{/number}","notifications_url":"https://api.github.com/repos/jkotas/coreclr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jkotas/coreclr/labels{/name}","releases_url":"https://api.github.com/repos/jkotas/coreclr/releases{/id}","created_at":"2015-02-04T03:09:04Z","updated_at":"2015-05-07T21:47:54Z","pushed_at":"2015-10-15T15:38:43Z","git_url":"git://github.com/jkotas/coreclr.git","ssh_url":"git@github.com:jkotas/coreclr.git","clone_url":"https://github.com/jkotas/coreclr.git","svn_url":"https://github.com/jkotas/coreclr","homepage":"","size":38967,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"afc073b19a9ba98ea687228d5eda694ffde2129d","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":30092893,"name":"coreclr","full_name":"dotnet/coreclr","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/coreclr","description":"This repo contains the .NET Core runtime, called CoreCLR, and the base library, called mscorlib. It includes the garbage collector, JIT compiler, base .NET data types and many low-level classes.","fork":false,"url":"https://api.github.com/repos/dotnet/coreclr","forks_url":"https://api.github.com/repos/dotnet/coreclr/forks","keys_url":"https://api.github.com/repos/dotnet/coreclr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/coreclr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/coreclr/teams","hooks_url":"https://api.github.com/repos/dotnet/coreclr/hooks","issue_events_url":"https://api.github.com/repos/dotnet/coreclr/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/coreclr/events","assignees_url":"https://api.github.com/repos/dotnet/coreclr/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/coreclr/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/coreclr/tags","blobs_url":"https://api.github.com/repos/dotnet/coreclr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/coreclr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/coreclr/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/coreclr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/coreclr/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/coreclr/languages","stargazers_url":"https://api.github.com/repos/dotnet/coreclr/stargazers","contributors_url":"https://api.github.com/repos/dotnet/coreclr/contributors","subscribers_url":"https://api.github.com/repos/dotnet/coreclr/subscribers","subscription_url":"https://api.github.com/repos/dotnet/coreclr/subscription","commits_url":"https://api.github.com/repos/dotnet/coreclr/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/coreclr/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/coreclr/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/coreclr/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/coreclr/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/coreclr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/coreclr/merges","archive_url":"https://api.github.com/repos/dotnet/coreclr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/coreclr/downloads","issues_url":"https://api.github.com/repos/dotnet/coreclr/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/coreclr/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/coreclr/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/coreclr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/coreclr/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/coreclr/releases{/id}","created_at":"2015-01-30T22:10:02Z","updated_at":"2015-10-15T06:53:52Z","pushed_at":"2015-10-15T15:38:44Z","git_url":"git://github.com/dotnet/coreclr.git","ssh_url":"git@github.com:dotnet/coreclr.git","clone_url":"https://github.com/dotnet/coreclr.git","svn_url":"https://github.com/dotnet/coreclr","homepage":"http://dotnet.github.io/core/","size":62947,"stargazers_count":5276,"watchers_count":5276,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1076,"mirror_url":null,"open_issues_count":321,"forks":1076,"open_issues":321,"watchers":5276,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/coreclr/pulls/1773"},"html":{"href":"https://github.com/dotnet/coreclr/pull/1773"},"issue":{"href":"https://api.github.com/repos/dotnet/coreclr/issues/1773"},"comments":{"href":"https://api.github.com/repos/dotnet/coreclr/issues/1773/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/coreclr/pulls/1773/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/coreclr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/coreclr/pulls/1773/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/coreclr/statuses/38034a26ff4e40e98d1af32abe5baef2c3eeea52"}}}}