{"action":"opened","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/11853","repository_url":"https://api.github.com/repos/chapel-lang/chapel","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11853/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11853/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/11853/events","html_url":"https://github.com/chapel-lang/chapel/issues/11853","id":389785708,"node_id":"MDU6SXNzdWUzODk3ODU3MDg=","number":11853,"title":"Use more relaxed memory orders for reference counting","user":{"login":"ronawho","id":1588337,"node_id":"MDQ6VXNlcjE1ODgzMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1588337?v=4","gravatar_id":"","url":"https://api.github.com/users/ronawho","html_url":"https://github.com/ronawho","followers_url":"https://api.github.com/users/ronawho/followers","following_url":"https://api.github.com/users/ronawho/following{/other_user}","gists_url":"https://api.github.com/users/ronawho/gists{/gist_id}","starred_url":"https://api.github.com/users/ronawho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronawho/subscriptions","organizations_url":"https://api.github.com/users/ronawho/orgs","repos_url":"https://api.github.com/users/ronawho/repos","events_url":"https://api.github.com/users/ronawho/events{/privacy}","received_events_url":"https://api.github.com/users/ronawho/received_events","type":"User","site_admin":false},"labels":[{"id":496603405,"node_id":"MDU6TGFiZWw0OTY2MDM0MDU=","url":"https://api.github.com/repos/chapel-lang/chapel/labels/type:%20Performance","name":"type: Performance","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-11T14:18:05Z","updated_at":"2018-12-11T14:18:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"`ReferenceCount` and `RefCountBase` currently use sequentially consistent atomics to implement reference counting, but this is stricter than is needed. There is a `atomic_refcnt` version that uses more relaxed operations. If possible we should unify our implementations and use more relaxed atomics. Here's an example implementation from [boost](https://www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html#boost_atomic.usage_examples.example_reference_counters.implementation)\r\n\r\nRelated to https://github.com/chapel-lang/chapel/issues/11852"}}
{"actor":{"display_login":"ronawho"}}