{"action":"opened","number":197,"pull_request":{"url":"https://api.github.com/repos/jbachorik/btrace/pulls/197","id":60991159,"html_url":"https://github.com/jbachorik/btrace/pull/197","diff_url":"https://github.com/jbachorik/btrace/pull/197.diff","patch_url":"https://github.com/jbachorik/btrace/pull/197.patch","issue_url":"https://api.github.com/repos/jbachorik/btrace/issues/197","number":197,"state":"open","locked":false,"title":"Improved shared methods","user":{"login":"jbachorik","id":738413,"avatar_url":"https://avatars.githubusercontent.com/u/738413?v=3","gravatar_id":"","url":"https://api.github.com/users/jbachorik","html_url":"https://github.com/jbachorik","followers_url":"https://api.github.com/users/jbachorik/followers","following_url":"https://api.github.com/users/jbachorik/following{/other_user}","gists_url":"https://api.github.com/users/jbachorik/gists{/gist_id}","starred_url":"https://api.github.com/users/jbachorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbachorik/subscriptions","organizations_url":"https://api.github.com/users/jbachorik/orgs","repos_url":"https://api.github.com/users/jbachorik/repos","events_url":"https://api.github.com/users/jbachorik/events{/privacy}","received_events_url":"https://api.github.com/users/jbachorik/received_events","type":"User","site_admin":false},"body":"The intent of this patch is to improve shared method handling in BTrace probes.\r\n\r\nCurrently, the shared methods are limited to allowing only argument types which have been loaded by the bootstrap class loader. This is showing to be very limiting. \r\n\r\nAt least the shared methods reachable only from `@OnMethod` or `@OnProbe` handlers do not need this limitation because any types visible to the probed method will be visible to the handler code as well.\r\n\r\nFor other handlers this limitation will have to be kept, until a duck-typing equivalent is implemented in BTrace.\r\n\r\nAs a side effect, the amount of code copied over to the probed method will usually decrease and lighten the pressure on PermGen/Metaspace.","created_at":"2016-02-28T13:19:27Z","updated_at":"2016-02-28T13:19:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jbachorik/btrace/pulls/197/commits","review_comments_url":"https://api.github.com/repos/jbachorik/btrace/pulls/197/comments","review_comment_url":"https://api.github.com/repos/jbachorik/btrace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbachorik/btrace/issues/197/comments","statuses_url":"https://api.github.com/repos/jbachorik/btrace/statuses/bd678ab827d200ac163bb2cc4ac289fb754ddef3","head":{"label":"jbachorik:improved-shared-methods","ref":"improved-shared-methods","sha":"bd678ab827d200ac163bb2cc4ac289fb754ddef3","user":{"login":"jbachorik","id":738413,"avatar_url":"https://avatars.githubusercontent.com/u/738413?v=3","gravatar_id":"","url":"https://api.github.com/users/jbachorik","html_url":"https://github.com/jbachorik","followers_url":"https://api.github.com/users/jbachorik/followers","following_url":"https://api.github.com/users/jbachorik/following{/other_user}","gists_url":"https://api.github.com/users/jbachorik/gists{/gist_id}","starred_url":"https://api.github.com/users/jbachorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbachorik/subscriptions","organizations_url":"https://api.github.com/users/jbachorik/orgs","repos_url":"https://api.github.com/users/jbachorik/repos","events_url":"https://api.github.com/users/jbachorik/events{/privacy}","received_events_url":"https://api.github.com/users/jbachorik/received_events","type":"User","site_admin":false},"repo":{"id":23439463,"name":"btrace","full_name":"jbachorik/btrace","owner":{"login":"jbachorik","id":738413,"avatar_url":"https://avatars.githubusercontent.com/u/738413?v=3","gravatar_id":"","url":"https://api.github.com/users/jbachorik","html_url":"https://github.com/jbachorik","followers_url":"https://api.github.com/users/jbachorik/followers","following_url":"https://api.github.com/users/jbachorik/following{/other_user}","gists_url":"https://api.github.com/users/jbachorik/gists{/gist_id}","starred_url":"https://api.github.com/users/jbachorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbachorik/subscriptions","organizations_url":"https://api.github.com/users/jbachorik/orgs","repos_url":"https://api.github.com/users/jbachorik/repos","events_url":"https://api.github.com/users/jbachorik/events{/privacy}","received_events_url":"https://api.github.com/users/jbachorik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbachorik/btrace","description":"BTrace - a safe, dynamic tracing tool for the Java platform","fork":false,"url":"https://api.github.com/repos/jbachorik/btrace","forks_url":"https://api.github.com/repos/jbachorik/btrace/forks","keys_url":"https://api.github.com/repos/jbachorik/btrace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbachorik/btrace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbachorik/btrace/teams","hooks_url":"https://api.github.com/repos/jbachorik/btrace/hooks","issue_events_url":"https://api.github.com/repos/jbachorik/btrace/issues/events{/number}","events_url":"https://api.github.com/repos/jbachorik/btrace/events","assignees_url":"https://api.github.com/repos/jbachorik/btrace/assignees{/user}","branches_url":"https://api.github.com/repos/jbachorik/btrace/branches{/branch}","tags_url":"https://api.github.com/repos/jbachorik/btrace/tags","blobs_url":"https://api.github.com/repos/jbachorik/btrace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbachorik/btrace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbachorik/btrace/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbachorik/btrace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbachorik/btrace/statuses/{sha}","languages_url":"https://api.github.com/repos/jbachorik/btrace/languages","stargazers_url":"https://api.github.com/repos/jbachorik/btrace/stargazers","contributors_url":"https://api.github.com/repos/jbachorik/btrace/contributors","subscribers_url":"https://api.github.com/repos/jbachorik/btrace/subscribers","subscription_url":"https://api.github.com/repos/jbachorik/btrace/subscription","commits_url":"https://api.github.com/repos/jbachorik/btrace/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbachorik/btrace/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbachorik/btrace/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbachorik/btrace/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbachorik/btrace/contents/{+path}","compare_url":"https://api.github.com/repos/jbachorik/btrace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbachorik/btrace/merges","archive_url":"https://api.github.com/repos/jbachorik/btrace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbachorik/btrace/downloads","issues_url":"https://api.github.com/repos/jbachorik/btrace/issues{/number}","pulls_url":"https://api.github.com/repos/jbachorik/btrace/pulls{/number}","milestones_url":"https://api.github.com/repos/jbachorik/btrace/milestones{/number}","notifications_url":"https://api.github.com/repos/jbachorik/btrace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbachorik/btrace/labels{/name}","releases_url":"https://api.github.com/repos/jbachorik/btrace/releases{/id}","deployments_url":"https://api.github.com/repos/jbachorik/btrace/deployments","created_at":"2014-08-28T18:58:24Z","updated_at":"2016-02-27T03:10:12Z","pushed_at":"2016-02-28T13:13:36Z","git_url":"git://github.com/jbachorik/btrace.git","ssh_url":"git@github.com:jbachorik/btrace.git","clone_url":"https://github.com/jbachorik/btrace.git","svn_url":"https://github.com/jbachorik/btrace","homepage":null,"size":14445,"stargazers_count":232,"watchers_count":232,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":60,"mirror_url":null,"open_issues_count":14,"forks":60,"open_issues":14,"watchers":232,"default_branch":"master"}},"base":{"label":"jbachorik:master","ref":"master","sha":"f39696e9c1d87d7a6c8dcf27d89fe6d6ba4a16f6","user":{"login":"jbachorik","id":738413,"avatar_url":"https://avatars.githubusercontent.com/u/738413?v=3","gravatar_id":"","url":"https://api.github.com/users/jbachorik","html_url":"https://github.com/jbachorik","followers_url":"https://api.github.com/users/jbachorik/followers","following_url":"https://api.github.com/users/jbachorik/following{/other_user}","gists_url":"https://api.github.com/users/jbachorik/gists{/gist_id}","starred_url":"https://api.github.com/users/jbachorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbachorik/subscriptions","organizations_url":"https://api.github.com/users/jbachorik/orgs","repos_url":"https://api.github.com/users/jbachorik/repos","events_url":"https://api.github.com/users/jbachorik/events{/privacy}","received_events_url":"https://api.github.com/users/jbachorik/received_events","type":"User","site_admin":false},"repo":{"id":23439463,"name":"btrace","full_name":"jbachorik/btrace","owner":{"login":"jbachorik","id":738413,"avatar_url":"https://avatars.githubusercontent.com/u/738413?v=3","gravatar_id":"","url":"https://api.github.com/users/jbachorik","html_url":"https://github.com/jbachorik","followers_url":"https://api.github.com/users/jbachorik/followers","following_url":"https://api.github.com/users/jbachorik/following{/other_user}","gists_url":"https://api.github.com/users/jbachorik/gists{/gist_id}","starred_url":"https://api.github.com/users/jbachorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbachorik/subscriptions","organizations_url":"https://api.github.com/users/jbachorik/orgs","repos_url":"https://api.github.com/users/jbachorik/repos","events_url":"https://api.github.com/users/jbachorik/events{/privacy}","received_events_url":"https://api.github.com/users/jbachorik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbachorik/btrace","description":"BTrace - a safe, dynamic tracing tool for the Java platform","fork":false,"url":"https://api.github.com/repos/jbachorik/btrace","forks_url":"https://api.github.com/repos/jbachorik/btrace/forks","keys_url":"https://api.github.com/repos/jbachorik/btrace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbachorik/btrace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbachorik/btrace/teams","hooks_url":"https://api.github.com/repos/jbachorik/btrace/hooks","issue_events_url":"https://api.github.com/repos/jbachorik/btrace/issues/events{/number}","events_url":"https://api.github.com/repos/jbachorik/btrace/events","assignees_url":"https://api.github.com/repos/jbachorik/btrace/assignees{/user}","branches_url":"https://api.github.com/repos/jbachorik/btrace/branches{/branch}","tags_url":"https://api.github.com/repos/jbachorik/btrace/tags","blobs_url":"https://api.github.com/repos/jbachorik/btrace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbachorik/btrace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbachorik/btrace/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbachorik/btrace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbachorik/btrace/statuses/{sha}","languages_url":"https://api.github.com/repos/jbachorik/btrace/languages","stargazers_url":"https://api.github.com/repos/jbachorik/btrace/stargazers","contributors_url":"https://api.github.com/repos/jbachorik/btrace/contributors","subscribers_url":"https://api.github.com/repos/jbachorik/btrace/subscribers","subscription_url":"https://api.github.com/repos/jbachorik/btrace/subscription","commits_url":"https://api.github.com/repos/jbachorik/btrace/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbachorik/btrace/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbachorik/btrace/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbachorik/btrace/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbachorik/btrace/contents/{+path}","compare_url":"https://api.github.com/repos/jbachorik/btrace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbachorik/btrace/merges","archive_url":"https://api.github.com/repos/jbachorik/btrace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbachorik/btrace/downloads","issues_url":"https://api.github.com/repos/jbachorik/btrace/issues{/number}","pulls_url":"https://api.github.com/repos/jbachorik/btrace/pulls{/number}","milestones_url":"https://api.github.com/repos/jbachorik/btrace/milestones{/number}","notifications_url":"https://api.github.com/repos/jbachorik/btrace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbachorik/btrace/labels{/name}","releases_url":"https://api.github.com/repos/jbachorik/btrace/releases{/id}","deployments_url":"https://api.github.com/repos/jbachorik/btrace/deployments","created_at":"2014-08-28T18:58:24Z","updated_at":"2016-02-27T03:10:12Z","pushed_at":"2016-02-28T13:13:36Z","git_url":"git://github.com/jbachorik/btrace.git","ssh_url":"git@github.com:jbachorik/btrace.git","clone_url":"https://github.com/jbachorik/btrace.git","svn_url":"https://github.com/jbachorik/btrace","homepage":null,"size":14445,"stargazers_count":232,"watchers_count":232,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":60,"mirror_url":null,"open_issues_count":14,"forks":60,"open_issues":14,"watchers":232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbachorik/btrace/pulls/197"},"html":{"href":"https://github.com/jbachorik/btrace/pull/197"},"issue":{"href":"https://api.github.com/repos/jbachorik/btrace/issues/197"},"comments":{"href":"https://api.github.com/repos/jbachorik/btrace/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/jbachorik/btrace/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/jbachorik/btrace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbachorik/btrace/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/jbachorik/btrace/statuses/bd678ab827d200ac163bb2cc4ac289fb754ddef3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":1398,"deletions":746,"changed_files":28}}