{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/graal/issues/743","repository_url":"https://api.github.com/repos/oracle/graal","labels_url":"https://api.github.com/repos/oracle/graal/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/oracle/graal/issues/743/comments","events_url":"https://api.github.com/repos/oracle/graal/issues/743/events","html_url":"https://github.com/oracle/graal/pull/743","id":371092982,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNjE2NzQz","number":743,"title":"Consult sched_getaffinity in Linux-specific substitution for more accurate CPU count","user":{"login":"dmlloyd","id":124581,"node_id":"MDQ6VXNlcjEyNDU4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/124581?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlloyd","html_url":"https://github.com/dmlloyd","followers_url":"https://api.github.com/users/dmlloyd/followers","following_url":"https://api.github.com/users/dmlloyd/following{/other_user}","gists_url":"https://api.github.com/users/dmlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlloyd/subscriptions","organizations_url":"https://api.github.com/users/dmlloyd/orgs","repos_url":"https://api.github.com/users/dmlloyd/repos","events_url":"https://api.github.com/users/dmlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/dmlloyd/received_events","type":"User","site_admin":false},"labels":[{"id":319809836,"node_id":"MDU6TGFiZWwzMTk4MDk4MzY=","url":"https://api.github.com/repos/oracle/graal/labels/oca-signed","name":"oca-signed","color":"bfe5bf","default":false},{"id":837757615,"node_id":"MDU6TGFiZWw4Mzc3NTc2MTU=","url":"https://api.github.com/repos/oracle/graal/labels/substrate","name":"substrate","color":"e2c102","default":false}],"state":"open","locked":false,"assignee":{"login":"Peter-B-Kessler","id":17032896,"node_id":"MDQ6VXNlcjE3MDMyODk2","avatar_url":"https://avatars3.githubusercontent.com/u/17032896?v=4","gravatar_id":"","url":"https://api.github.com/users/Peter-B-Kessler","html_url":"https://github.com/Peter-B-Kessler","followers_url":"https://api.github.com/users/Peter-B-Kessler/followers","following_url":"https://api.github.com/users/Peter-B-Kessler/following{/other_user}","gists_url":"https://api.github.com/users/Peter-B-Kessler/gists{/gist_id}","starred_url":"https://api.github.com/users/Peter-B-Kessler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peter-B-Kessler/subscriptions","organizations_url":"https://api.github.com/users/Peter-B-Kessler/orgs","repos_url":"https://api.github.com/users/Peter-B-Kessler/repos","events_url":"https://api.github.com/users/Peter-B-Kessler/events{/privacy}","received_events_url":"https://api.github.com/users/Peter-B-Kessler/received_events","type":"User","site_admin":false},"assignees":[{"login":"Peter-B-Kessler","id":17032896,"node_id":"MDQ6VXNlcjE3MDMyODk2","avatar_url":"https://avatars3.githubusercontent.com/u/17032896?v=4","gravatar_id":"","url":"https://api.github.com/users/Peter-B-Kessler","html_url":"https://github.com/Peter-B-Kessler","followers_url":"https://api.github.com/users/Peter-B-Kessler/followers","following_url":"https://api.github.com/users/Peter-B-Kessler/following{/other_user}","gists_url":"https://api.github.com/users/Peter-B-Kessler/gists{/gist_id}","starred_url":"https://api.github.com/users/Peter-B-Kessler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peter-B-Kessler/subscriptions","organizations_url":"https://api.github.com/users/Peter-B-Kessler/orgs","repos_url":"https://api.github.com/users/Peter-B-Kessler/repos","events_url":"https://api.github.com/users/Peter-B-Kessler/events{/privacy}","received_events_url":"https://api.github.com/users/Peter-B-Kessler/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-10-17T14:02:23Z","updated_at":"2018-12-06T23:23:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/oracle/graal/pulls/743","html_url":"https://github.com/oracle/graal/pull/743","diff_url":"https://github.com/oracle/graal/pull/743.diff","patch_url":"https://github.com/oracle/graal/pull/743.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/oracle/graal/issues/comments/445066976","html_url":"https://github.com/oracle/graal/pull/743#issuecomment-445066976","issue_url":"https://api.github.com/repos/oracle/graal/issues/743","id":445066976,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTA2Njk3Ng==","user":{"login":"Peter-B-Kessler","id":17032896,"node_id":"MDQ6VXNlcjE3MDMyODk2","avatar_url":"https://avatars3.githubusercontent.com/u/17032896?v=4","gravatar_id":"","url":"https://api.github.com/users/Peter-B-Kessler","html_url":"https://github.com/Peter-B-Kessler","followers_url":"https://api.github.com/users/Peter-B-Kessler/followers","following_url":"https://api.github.com/users/Peter-B-Kessler/following{/other_user}","gists_url":"https://api.github.com/users/Peter-B-Kessler/gists{/gist_id}","starred_url":"https://api.github.com/users/Peter-B-Kessler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peter-B-Kessler/subscriptions","organizations_url":"https://api.github.com/users/Peter-B-Kessler/orgs","repos_url":"https://api.github.com/users/Peter-B-Kessler/repos","events_url":"https://api.github.com/users/Peter-B-Kessler/events{/privacy}","received_events_url":"https://api.github.com/users/Peter-B-Kessler/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T23:23:21Z","updated_at":"2018-12-06T23:23:21Z","author_association":"MEMBER","body":"@dmlloyd > After this PR, I intend to look into using cgroups information for a more accurate picture when running inside a container; I will most likely replicate the OpenJDK logic in this area.\r\n\r\nI am about to push changes to look at the cgroup information for physical memory.  Using the hacky JDK-8 logic.  Having the more complete OpenJDK logic would be nice, but not if it has a significant impact on startup instruction count or time for things like \"HelloWorld\".  (I used `perf stat -e instructions` and `perf stat -e instructions:u` but maybe that isn't the best tool for the job.)\r\n\r\nAmong the problems I ran into with the memory sizing was that some code that wanted the memory size were in places that could not allocate, which made opening files and parsing numbers ... awkward.  I don't think you will run into those with the other cgroup parameters, but forewarned is four-armed."}}
{"actor":{"display_login":"Peter-B-Kessler"}}