{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/1135","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/1135/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/1135/events","html_url":"https://github.com/eclipse/jetty.project/issues/1135","id":192105670,"number":1135,"title":"Avoid allocations from Method.getParameterTypes() if possible","user":{"login":"dreis2211","id":6304496,"avatar_url":"https://avatars.githubusercontent.com/u/6304496?v=3","gravatar_id":"","url":"https://api.github.com/users/dreis2211","html_url":"https://github.com/dreis2211","followers_url":"https://api.github.com/users/dreis2211/followers","following_url":"https://api.github.com/users/dreis2211/following{/other_user}","gists_url":"https://api.github.com/users/dreis2211/gists{/gist_id}","starred_url":"https://api.github.com/users/dreis2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreis2211/subscriptions","organizations_url":"https://api.github.com/users/dreis2211/orgs","repos_url":"https://api.github.com/users/dreis2211/repos","events_url":"https://api.github.com/users/dreis2211/events{/privacy}","received_events_url":"https://api.github.com/users/dreis2211/received_events","type":"User","site_admin":false},"labels":[{"id":326417667,"url":"https://api.github.com/repos/eclipse/jetty.project/labels/Enhancement","name":"Enhancement","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false},"assignees":[{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-28T20:13:19Z","updated_at":"2016-11-29T22:21:31Z","closed_at":null,"body":"Hey,\r\n\r\nI found some occurences where we call Method.getParameterTypes() just to get the parameter count, which involves cloning the underlying params array every time. Since JDK 8 there is luckily Method.getParameterCount() for that which avoids the cloning.\r\n\r\nCheers,\r\nChristoph"},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/263718945","html_url":"https://github.com/eclipse/jetty.project/issues/1135#issuecomment-263718945","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/1135","id":263718945,"user":{"login":"dreis2211","id":6304496,"avatar_url":"https://avatars.githubusercontent.com/u/6304496?v=3","gravatar_id":"","url":"https://api.github.com/users/dreis2211","html_url":"https://github.com/dreis2211","followers_url":"https://api.github.com/users/dreis2211/followers","following_url":"https://api.github.com/users/dreis2211/following{/other_user}","gists_url":"https://api.github.com/users/dreis2211/gists{/gist_id}","starred_url":"https://api.github.com/users/dreis2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreis2211/subscriptions","organizations_url":"https://api.github.com/users/dreis2211/orgs","repos_url":"https://api.github.com/users/dreis2211/repos","events_url":"https://api.github.com/users/dreis2211/events{/privacy}","received_events_url":"https://api.github.com/users/dreis2211/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T22:21:31Z","updated_at":"2016-11-29T22:21:31Z","body":"I think you can just cherry-pick it. :)"}}
{"actor":{"display_login":"dreis2211"}}