{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/openj9/issues/2621","repository_url":"https://api.github.com/repos/eclipse/openj9","labels_url":"https://api.github.com/repos/eclipse/openj9/issues/2621/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/openj9/issues/2621/comments","events_url":"https://api.github.com/repos/eclipse/openj9/issues/2621/events","html_url":"https://github.com/eclipse/openj9/pull/2621","id":350938566,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NjU5OTYw","number":2621,"title":"OpenJ9 Attach API Diagnostic extension #2543","user":{"login":"d0k1","id":5734693,"node_id":"MDQ6VXNlcjU3MzQ2OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/5734693?v=4","gravatar_id":"","url":"https://api.github.com/users/d0k1","html_url":"https://github.com/d0k1","followers_url":"https://api.github.com/users/d0k1/followers","following_url":"https://api.github.com/users/d0k1/following{/other_user}","gists_url":"https://api.github.com/users/d0k1/gists{/gist_id}","starred_url":"https://api.github.com/users/d0k1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d0k1/subscriptions","organizations_url":"https://api.github.com/users/d0k1/orgs","repos_url":"https://api.github.com/users/d0k1/repos","events_url":"https://api.github.com/users/d0k1/events{/privacy}","received_events_url":"https://api.github.com/users/d0k1/received_events","type":"User","site_admin":false},"labels":[{"id":697962110,"node_id":"MDU6TGFiZWw2OTc5NjIxMTA=","url":"https://api.github.com/repos/eclipse/openj9/labels/comp:vm","name":"comp:vm","color":"1d76db","default":false},{"id":822706839,"node_id":"MDU6TGFiZWw4MjI3MDY4Mzk=","url":"https://api.github.com/repos/eclipse/openj9/labels/userRaised","name":"userRaised","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-15T19:38:49Z","updated_at":"2018-08-20T13:02:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/eclipse/openj9/pulls/2621","html_url":"https://github.com/eclipse/openj9/pull/2621","diff_url":"https://github.com/eclipse/openj9/pull/2621.diff","patch_url":"https://github.com/eclipse/openj9/pull/2621.patch"},"body":"To implement command line diagnostic utilities like jstack / jmap / etc I decided to use Attact API just as jstack does. Attach API extension contains 8 new commands. Among them, there are commands to get javadump/systemdump/heapdump/snapdump and to get Information about memory, about loaded/unloaded classes about JIT compilation time. There is one command to get a thread dump through com.ibm.lang.management.internal.ExtendedThreadMXBeanImpl. The communication between JVM and Attach API client is going through IPC mechanism. Some commands have to send back some data to a client so they use java serialization to serialize a response and send it. Besides there are some new methods in com.ibm.tools.attach.attacher.OpenJ9VirtualMachine that uses the extension. #2543\r\n\r\nFixes #2543\r\n\r\nSigned-off-by: Denis Kirpichenkov <denis.kirpichenkov@gmail.com>"},"comment":{"url":"https://api.github.com/repos/eclipse/openj9/issues/comments/414308820","html_url":"https://github.com/eclipse/openj9/pull/2621#issuecomment-414308820","issue_url":"https://api.github.com/repos/eclipse/openj9/issues/2621","id":414308820,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDMwODgyMA==","user":{"login":"pdbain-ibm","id":18007966,"node_id":"MDQ6VXNlcjE4MDA3OTY2","avatar_url":"https://avatars1.githubusercontent.com/u/18007966?v=4","gravatar_id":"","url":"https://api.github.com/users/pdbain-ibm","html_url":"https://github.com/pdbain-ibm","followers_url":"https://api.github.com/users/pdbain-ibm/followers","following_url":"https://api.github.com/users/pdbain-ibm/following{/other_user}","gists_url":"https://api.github.com/users/pdbain-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/pdbain-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdbain-ibm/subscriptions","organizations_url":"https://api.github.com/users/pdbain-ibm/orgs","repos_url":"https://api.github.com/users/pdbain-ibm/repos","events_url":"https://api.github.com/users/pdbain-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/pdbain-ibm/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T13:02:50Z","updated_at":"2018-08-20T13:02:50Z","author_association":"CONTRIBUTOR","body":"Dan\r\n\r\nWill do.  \r\n\r\n@d0k1 As you can appreciate, security is an issue with the JVM and particularly attachAPI.  Would you kindly indicate what steps you have taken to avoid compromising security.  Thank you."}}
{"actor":{"display_login":"pdbain-ibm"}}