{"action":"created","comment":{"url":"https://api.github.com/repos/JeOhLee/GCTool/pulls/comments/66717835","id":66717835,"diff_hunk":"@@ -0,0 +1,225 @@\n+/*\n+ * ----------------------------------------------------------------------------\n+ * \"THE BEER-WARE LICENSE\"\n+ * If we meet some day, and you think\n+ * this stuff is worth it, you can buy me a beer in return.\n+ * ----------------------------------------------------------------------------\n+ */\n+\n+package edu.kaist.algo.parser;\n+\n+import org.apache.commons.lang3.StringUtils;\n+import org.parboiled.BaseParser;\n+import org.parboiled.Rule;\n+import org.parboiled.annotations.BuildParseTree;\n+import org.parboiled.annotations.Label;\n+import org.parboiled.annotations.SuppressSubnodes;\n+\n+/**\n+ * PEG (Parsing Expression Grammar) for the CMS GC log.\n+ *\n+ * <p>This PEG is for parsing the one line of CMS GC logs. The line should be complete. That is,\n+ * it should not be cut off by another thread's interference.\n+ *\n+ * <p>Beware: CMS-related logs are not supported yet.\n+ *\n+ * <p>Following options are required:\n+ * <ul>\n+ * <li>-XX:+UseConcMarkSweepGC</li>\n+ * <li>-XX:+UnlockDiagnosticVMOptions</li>","path":"parser/src/main/java/edu/kaist/algo/parser/CmsGcLogRule.java","position":29,"original_position":29,"commit_id":"44f3a969831771b6b214138dc958df290e034052","original_commit_id":"44f3a969831771b6b214138dc958df290e034052","user":{"login":"ducky-hong","id":1220500,"avatar_url":"https://avatars.githubusercontent.com/u/1220500?v=3","gravatar_id":"","url":"https://api.github.com/users/ducky-hong","html_url":"https://github.com/ducky-hong","followers_url":"https://api.github.com/users/ducky-hong/followers","following_url":"https://api.github.com/users/ducky-hong/following{/other_user}","gists_url":"https://api.github.com/users/ducky-hong/gists{/gist_id}","starred_url":"https://api.github.com/users/ducky-hong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducky-hong/subscriptions","organizations_url":"https://api.github.com/users/ducky-hong/orgs","repos_url":"https://api.github.com/users/ducky-hong/repos","events_url":"https://api.github.com/users/ducky-hong/events{/privacy}","received_events_url":"https://api.github.com/users/ducky-hong/received_events","type":"User","site_admin":false},"body":"해당 플래그를 빼면 LogVMOutput 옵션이 작동하지 않습니다.\r\n\r\n```\r\n~/Downloads ❯❯❯ java -Xmx100m -Xms100m -XX:+UseConcMarkSweepGC -XX:+LogVMOutput -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintPromotionFailure -jar dacapo-9.12-bach.jar tradesoap -n 5\r\nError: VM option 'LogVMOutput' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.\r\nError: Could not create the Java Virtual Machine.\r\nError: A fatal exception has occurred. Program will exit.\r\n```","created_at":"2016-06-12T08:23:19Z","updated_at":"2016-06-12T08:23:19Z","html_url":"https://github.com/JeOhLee/GCTool/pull/63#discussion_r66717835","pull_request_url":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/JeOhLee/GCTool/pulls/comments/66717835"},"html":{"href":"https://github.com/JeOhLee/GCTool/pull/63#discussion_r66717835"},"pull_request":{"href":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63","id":73021715,"html_url":"https://github.com/JeOhLee/GCTool/pull/63","diff_url":"https://github.com/JeOhLee/GCTool/pull/63.diff","patch_url":"https://github.com/JeOhLee/GCTool/pull/63.patch","issue_url":"https://api.github.com/repos/JeOhLee/GCTool/issues/63","number":63,"state":"open","locked":false,"title":"[REVIEW] Parser","user":{"login":"ducky-hong","id":1220500,"avatar_url":"https://avatars.githubusercontent.com/u/1220500?v=3","gravatar_id":"","url":"https://api.github.com/users/ducky-hong","html_url":"https://github.com/ducky-hong","followers_url":"https://api.github.com/users/ducky-hong/followers","following_url":"https://api.github.com/users/ducky-hong/following{/other_user}","gists_url":"https://api.github.com/users/ducky-hong/gists{/gist_id}","starred_url":"https://api.github.com/users/ducky-hong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducky-hong/subscriptions","organizations_url":"https://api.github.com/users/ducky-hong/orgs","repos_url":"https://api.github.com/users/ducky-hong/repos","events_url":"https://api.github.com/users/ducky-hong/events{/privacy}","received_events_url":"https://api.github.com/users/ducky-hong/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-08T10:24:32Z","updated_at":"2016-06-12T08:23:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6934489e252493d862d67a2fb8f04eb5bbded59","assignee":{"login":"habals","id":1609395,"avatar_url":"https://avatars.githubusercontent.com/u/1609395?v=3","gravatar_id":"","url":"https://api.github.com/users/habals","html_url":"https://github.com/habals","followers_url":"https://api.github.com/users/habals/followers","following_url":"https://api.github.com/users/habals/following{/other_user}","gists_url":"https://api.github.com/users/habals/gists{/gist_id}","starred_url":"https://api.github.com/users/habals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habals/subscriptions","organizations_url":"https://api.github.com/users/habals/orgs","repos_url":"https://api.github.com/users/habals/repos","events_url":"https://api.github.com/users/habals/events{/privacy}","received_events_url":"https://api.github.com/users/habals/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63/commits","review_comments_url":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63/comments","review_comment_url":"https://api.github.com/repos/JeOhLee/GCTool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JeOhLee/GCTool/issues/63/comments","statuses_url":"https://api.github.com/repos/JeOhLee/GCTool/statuses/44f3a969831771b6b214138dc958df290e034052","head":{"label":"JeOhLee:review/3","ref":"review/3","sha":"44f3a969831771b6b214138dc958df290e034052","user":{"login":"JeOhLee","id":10905557,"avatar_url":"https://avatars.githubusercontent.com/u/10905557?v=3","gravatar_id":"","url":"https://api.github.com/users/JeOhLee","html_url":"https://github.com/JeOhLee","followers_url":"https://api.github.com/users/JeOhLee/followers","following_url":"https://api.github.com/users/JeOhLee/following{/other_user}","gists_url":"https://api.github.com/users/JeOhLee/gists{/gist_id}","starred_url":"https://api.github.com/users/JeOhLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeOhLee/subscriptions","organizations_url":"https://api.github.com/users/JeOhLee/orgs","repos_url":"https://api.github.com/users/JeOhLee/repos","events_url":"https://api.github.com/users/JeOhLee/events{/privacy}","received_events_url":"https://api.github.com/users/JeOhLee/received_events","type":"User","site_admin":false},"repo":{"id":54448575,"name":"GCTool","full_name":"JeOhLee/GCTool","owner":{"login":"JeOhLee","id":10905557,"avatar_url":"https://avatars.githubusercontent.com/u/10905557?v=3","gravatar_id":"","url":"https://api.github.com/users/JeOhLee","html_url":"https://github.com/JeOhLee","followers_url":"https://api.github.com/users/JeOhLee/followers","following_url":"https://api.github.com/users/JeOhLee/following{/other_user}","gists_url":"https://api.github.com/users/JeOhLee/gists{/gist_id}","starred_url":"https://api.github.com/users/JeOhLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeOhLee/subscriptions","organizations_url":"https://api.github.com/users/JeOhLee/orgs","repos_url":"https://api.github.com/users/JeOhLee/repos","events_url":"https://api.github.com/users/JeOhLee/events{/privacy}","received_events_url":"https://api.github.com/users/JeOhLee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JeOhLee/GCTool","description":"Team \"Algo\"'s repository of CS492 lecture.","fork":false,"url":"https://api.github.com/repos/JeOhLee/GCTool","forks_url":"https://api.github.com/repos/JeOhLee/GCTool/forks","keys_url":"https://api.github.com/repos/JeOhLee/GCTool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JeOhLee/GCTool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JeOhLee/GCTool/teams","hooks_url":"https://api.github.com/repos/JeOhLee/GCTool/hooks","issue_events_url":"https://api.github.com/repos/JeOhLee/GCTool/issues/events{/number}","events_url":"https://api.github.com/repos/JeOhLee/GCTool/events","assignees_url":"https://api.github.com/repos/JeOhLee/GCTool/assignees{/user}","branches_url":"https://api.github.com/repos/JeOhLee/GCTool/branches{/branch}","tags_url":"https://api.github.com/repos/JeOhLee/GCTool/tags","blobs_url":"https://api.github.com/repos/JeOhLee/GCTool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JeOhLee/GCTool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JeOhLee/GCTool/git/refs{/sha}","trees_url":"https://api.github.com/repos/JeOhLee/GCTool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JeOhLee/GCTool/statuses/{sha}","languages_url":"https://api.github.com/repos/JeOhLee/GCTool/languages","stargazers_url":"https://api.github.com/repos/JeOhLee/GCTool/stargazers","contributors_url":"https://api.github.com/repos/JeOhLee/GCTool/contributors","subscribers_url":"https://api.github.com/repos/JeOhLee/GCTool/subscribers","subscription_url":"https://api.github.com/repos/JeOhLee/GCTool/subscription","commits_url":"https://api.github.com/repos/JeOhLee/GCTool/commits{/sha}","git_commits_url":"https://api.github.com/repos/JeOhLee/GCTool/git/commits{/sha}","comments_url":"https://api.github.com/repos/JeOhLee/GCTool/comments{/number}","issue_comment_url":"https://api.github.com/repos/JeOhLee/GCTool/issues/comments{/number}","contents_url":"https://api.github.com/repos/JeOhLee/GCTool/contents/{+path}","compare_url":"https://api.github.com/repos/JeOhLee/GCTool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JeOhLee/GCTool/merges","archive_url":"https://api.github.com/repos/JeOhLee/GCTool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JeOhLee/GCTool/downloads","issues_url":"https://api.github.com/repos/JeOhLee/GCTool/issues{/number}","pulls_url":"https://api.github.com/repos/JeOhLee/GCTool/pulls{/number}","milestones_url":"https://api.github.com/repos/JeOhLee/GCTool/milestones{/number}","notifications_url":"https://api.github.com/repos/JeOhLee/GCTool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JeOhLee/GCTool/labels{/name}","releases_url":"https://api.github.com/repos/JeOhLee/GCTool/releases{/id}","deployments_url":"https://api.github.com/repos/JeOhLee/GCTool/deployments","created_at":"2016-03-22T05:43:50Z","updated_at":"2016-06-07T00:58:32Z","pushed_at":"2016-06-11T17:38:41Z","git_url":"git://github.com/JeOhLee/GCTool.git","ssh_url":"git@github.com:JeOhLee/GCTool.git","clone_url":"https://github.com/JeOhLee/GCTool.git","svn_url":"https://github.com/JeOhLee/GCTool","homepage":null,"size":300,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"develop"}},"base":{"label":"JeOhLee:review/2","ref":"review/2","sha":"394a017337294477d294111e332d2cdfaea4e3f2","user":{"login":"JeOhLee","id":10905557,"avatar_url":"https://avatars.githubusercontent.com/u/10905557?v=3","gravatar_id":"","url":"https://api.github.com/users/JeOhLee","html_url":"https://github.com/JeOhLee","followers_url":"https://api.github.com/users/JeOhLee/followers","following_url":"https://api.github.com/users/JeOhLee/following{/other_user}","gists_url":"https://api.github.com/users/JeOhLee/gists{/gist_id}","starred_url":"https://api.github.com/users/JeOhLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeOhLee/subscriptions","organizations_url":"https://api.github.com/users/JeOhLee/orgs","repos_url":"https://api.github.com/users/JeOhLee/repos","events_url":"https://api.github.com/users/JeOhLee/events{/privacy}","received_events_url":"https://api.github.com/users/JeOhLee/received_events","type":"User","site_admin":false},"repo":{"id":54448575,"name":"GCTool","full_name":"JeOhLee/GCTool","owner":{"login":"JeOhLee","id":10905557,"avatar_url":"https://avatars.githubusercontent.com/u/10905557?v=3","gravatar_id":"","url":"https://api.github.com/users/JeOhLee","html_url":"https://github.com/JeOhLee","followers_url":"https://api.github.com/users/JeOhLee/followers","following_url":"https://api.github.com/users/JeOhLee/following{/other_user}","gists_url":"https://api.github.com/users/JeOhLee/gists{/gist_id}","starred_url":"https://api.github.com/users/JeOhLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeOhLee/subscriptions","organizations_url":"https://api.github.com/users/JeOhLee/orgs","repos_url":"https://api.github.com/users/JeOhLee/repos","events_url":"https://api.github.com/users/JeOhLee/events{/privacy}","received_events_url":"https://api.github.com/users/JeOhLee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JeOhLee/GCTool","description":"Team \"Algo\"'s repository of CS492 lecture.","fork":false,"url":"https://api.github.com/repos/JeOhLee/GCTool","forks_url":"https://api.github.com/repos/JeOhLee/GCTool/forks","keys_url":"https://api.github.com/repos/JeOhLee/GCTool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JeOhLee/GCTool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JeOhLee/GCTool/teams","hooks_url":"https://api.github.com/repos/JeOhLee/GCTool/hooks","issue_events_url":"https://api.github.com/repos/JeOhLee/GCTool/issues/events{/number}","events_url":"https://api.github.com/repos/JeOhLee/GCTool/events","assignees_url":"https://api.github.com/repos/JeOhLee/GCTool/assignees{/user}","branches_url":"https://api.github.com/repos/JeOhLee/GCTool/branches{/branch}","tags_url":"https://api.github.com/repos/JeOhLee/GCTool/tags","blobs_url":"https://api.github.com/repos/JeOhLee/GCTool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JeOhLee/GCTool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JeOhLee/GCTool/git/refs{/sha}","trees_url":"https://api.github.com/repos/JeOhLee/GCTool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JeOhLee/GCTool/statuses/{sha}","languages_url":"https://api.github.com/repos/JeOhLee/GCTool/languages","stargazers_url":"https://api.github.com/repos/JeOhLee/GCTool/stargazers","contributors_url":"https://api.github.com/repos/JeOhLee/GCTool/contributors","subscribers_url":"https://api.github.com/repos/JeOhLee/GCTool/subscribers","subscription_url":"https://api.github.com/repos/JeOhLee/GCTool/subscription","commits_url":"https://api.github.com/repos/JeOhLee/GCTool/commits{/sha}","git_commits_url":"https://api.github.com/repos/JeOhLee/GCTool/git/commits{/sha}","comments_url":"https://api.github.com/repos/JeOhLee/GCTool/comments{/number}","issue_comment_url":"https://api.github.com/repos/JeOhLee/GCTool/issues/comments{/number}","contents_url":"https://api.github.com/repos/JeOhLee/GCTool/contents/{+path}","compare_url":"https://api.github.com/repos/JeOhLee/GCTool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JeOhLee/GCTool/merges","archive_url":"https://api.github.com/repos/JeOhLee/GCTool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JeOhLee/GCTool/downloads","issues_url":"https://api.github.com/repos/JeOhLee/GCTool/issues{/number}","pulls_url":"https://api.github.com/repos/JeOhLee/GCTool/pulls{/number}","milestones_url":"https://api.github.com/repos/JeOhLee/GCTool/milestones{/number}","notifications_url":"https://api.github.com/repos/JeOhLee/GCTool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JeOhLee/GCTool/labels{/name}","releases_url":"https://api.github.com/repos/JeOhLee/GCTool/releases{/id}","deployments_url":"https://api.github.com/repos/JeOhLee/GCTool/deployments","created_at":"2016-03-22T05:43:50Z","updated_at":"2016-06-07T00:58:32Z","pushed_at":"2016-06-11T17:38:41Z","git_url":"git://github.com/JeOhLee/GCTool.git","ssh_url":"git@github.com:JeOhLee/GCTool.git","clone_url":"https://github.com/JeOhLee/GCTool.git","svn_url":"https://github.com/JeOhLee/GCTool","homepage":null,"size":300,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63"},"html":{"href":"https://github.com/JeOhLee/GCTool/pull/63"},"issue":{"href":"https://api.github.com/repos/JeOhLee/GCTool/issues/63"},"comments":{"href":"https://api.github.com/repos/JeOhLee/GCTool/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/JeOhLee/GCTool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JeOhLee/GCTool/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/JeOhLee/GCTool/statuses/44f3a969831771b6b214138dc958df290e034052"}}}}
{"actor":{"display_login":"ducky-hong"}}