{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/10798","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10798/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10798/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10798/events","html_url":"https://github.com/elastic/elasticsearch/pull/10798","id":70789106,"number":10798,"title":"change BigArrays to not extend AbstractComponent","user":{"login":"mfussenegger","id":38700,"avatar_url":"https://avatars.githubusercontent.com/u/38700?v=3","gravatar_id":"","url":"https://api.github.com/users/mfussenegger","html_url":"https://github.com/mfussenegger","followers_url":"https://api.github.com/users/mfussenegger/followers","following_url":"https://api.github.com/users/mfussenegger/following{/other_user}","gists_url":"https://api.github.com/users/mfussenegger/gists{/gist_id}","starred_url":"https://api.github.com/users/mfussenegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfussenegger/subscriptions","organizations_url":"https://api.github.com/users/mfussenegger/orgs","repos_url":"https://api.github.com/users/mfussenegger/repos","events_url":"https://api.github.com/users/mfussenegger/events{/privacy}","received_events_url":"https://api.github.com/users/mfussenegger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rjernst","id":289412,"avatar_url":"https://avatars.githubusercontent.com/u/289412?v=3","gravatar_id":"","url":"https://api.github.com/users/rjernst","html_url":"https://github.com/rjernst","followers_url":"https://api.github.com/users/rjernst/followers","following_url":"https://api.github.com/users/rjernst/following{/other_user}","gists_url":"https://api.github.com/users/rjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/rjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjernst/subscriptions","organizations_url":"https://api.github.com/users/rjernst/orgs","repos_url":"https://api.github.com/users/rjernst/repos","events_url":"https://api.github.com/users/rjernst/events{/privacy}","received_events_url":"https://api.github.com/users/rjernst/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-24T20:40:16Z","updated_at":"2015-04-24T22:05:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/10798","html_url":"https://github.com/elastic/elasticsearch/pull/10798","diff_url":"https://github.com/elastic/elasticsearch/pull/10798.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/10798.patch"},"body":"In order to avoid the ``getLogger(getClass())`` calls in the\r\nAbstractComponent constructor.\r\n\r\nSeems like BigArrays used to be a Singleton but it actually\r\nno longer is one. Every time a SearchContext is created a\r\nnew BigArrays instance is created via the\r\n``withCircuitBreaking`` call."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/96079851","html_url":"https://github.com/elastic/elasticsearch/pull/10798#issuecomment-96079851","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10798","id":96079851,"user":{"login":"dakrone","id":19060,"avatar_url":"https://avatars.githubusercontent.com/u/19060?v=3","gravatar_id":"","url":"https://api.github.com/users/dakrone","html_url":"https://github.com/dakrone","followers_url":"https://api.github.com/users/dakrone/followers","following_url":"https://api.github.com/users/dakrone/following{/other_user}","gists_url":"https://api.github.com/users/dakrone/gists{/gist_id}","starred_url":"https://api.github.com/users/dakrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakrone/subscriptions","organizations_url":"https://api.github.com/users/dakrone/orgs","repos_url":"https://api.github.com/users/dakrone/repos","events_url":"https://api.github.com/users/dakrone/events{/privacy}","received_events_url":"https://api.github.com/users/dakrone/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T22:05:10Z","updated_at":"2015-04-24T22:05:10Z","body":"I think we can be smarter about not creating a new BigArrays instance for every `withCircuitBreaking` call also, working on a fix for this."}}