{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/3206","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/3206/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/3206/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/3206/events","html_url":"https://github.com/dotnet/coreclr/issues/3206","id":134338056,"number":3206,"title":"Concurrency issues in ConditionalWeakTable","user":{"login":"mjp41","id":270363,"avatar_url":"https://avatars.githubusercontent.com/u/270363?v=3","gravatar_id":"","url":"https://api.github.com/users/mjp41","html_url":"https://github.com/mjp41","followers_url":"https://api.github.com/users/mjp41/followers","following_url":"https://api.github.com/users/mjp41/following{/other_user}","gists_url":"https://api.github.com/users/mjp41/gists{/gist_id}","starred_url":"https://api.github.com/users/mjp41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjp41/subscriptions","organizations_url":"https://api.github.com/users/mjp41/orgs","repos_url":"https://api.github.com/users/mjp41/repos","events_url":"https://api.github.com/users/mjp41/events{/privacy}","received_events_url":"https://api.github.com/users/mjp41/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-17T16:59:33Z","updated_at":"2016-02-17T17:15:56Z","closed_at":null,"body":"There are several concurrency issues in the [ConditionalWeakTable](https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Runtime/CompilerServices/ConditionalWeakTable.cs), these have been fixed in CoreRT's [ConditionWeakTable](https://github.com/dotnet/corert/blob/master/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ConditionalWeakTable.cs).  \r\n\r\nThe redesign in CoreRT should be integrated into CoreCLR.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/185307724","html_url":"https://github.com/dotnet/coreclr/issues/3206#issuecomment-185307724","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/3206","id":185307724,"user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T17:15:56Z","updated_at":"2016-02-17T17:15:56Z","body":"> I think it is attempting to do lock-free reads here\r\n\r\nNo, TryGetValue takes a lock:\r\nhttps://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Runtime/CompilerServices/ConditionalWeakTable.cs#L109"}}