{"action":"created","issue":{"url":"https://api.github.com/repos/graalvm/graal-core/issues/77","repository_url":"https://api.github.com/repos/graalvm/graal-core","labels_url":"https://api.github.com/repos/graalvm/graal-core/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/graalvm/graal-core/issues/77/comments","events_url":"https://api.github.com/repos/graalvm/graal-core/issues/77/events","html_url":"https://github.com/graalvm/graal-core/pull/77","id":136425630,"number":77,"title":"fix NFI when used from the truffle partial evaluator","user":{"login":"rschatz","id":151800,"avatar_url":"https://avatars.githubusercontent.com/u/151800?v=3","gravatar_id":"","url":"https://api.github.com/users/rschatz","html_url":"https://github.com/rschatz","followers_url":"https://api.github.com/users/rschatz/followers","following_url":"https://api.github.com/users/rschatz/following{/other_user}","gists_url":"https://api.github.com/users/rschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/rschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschatz/subscriptions","organizations_url":"https://api.github.com/users/rschatz/orgs","repos_url":"https://api.github.com/users/rschatz/repos","events_url":"https://api.github.com/users/rschatz/events{/privacy}","received_events_url":"https://api.github.com/users/rschatz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graalvm/graal-core/labels/oracle-emp","name":"oracle-emp","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"woess","id":6517543,"avatar_url":"https://avatars.githubusercontent.com/u/6517543?v=3","gravatar_id":"","url":"https://api.github.com/users/woess","html_url":"https://github.com/woess","followers_url":"https://api.github.com/users/woess/followers","following_url":"https://api.github.com/users/woess/following{/other_user}","gists_url":"https://api.github.com/users/woess/gists{/gist_id}","starred_url":"https://api.github.com/users/woess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woess/subscriptions","organizations_url":"https://api.github.com/users/woess/orgs","repos_url":"https://api.github.com/users/woess/repos","events_url":"https://api.github.com/users/woess/events{/privacy}","received_events_url":"https://api.github.com/users/woess/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-25T15:46:13Z","updated_at":"2016-02-25T15:47:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graalvm/graal-core/pulls/77","html_url":"https://github.com/graalvm/graal-core/pull/77","diff_url":"https://github.com/graalvm/graal-core/pull/77.diff","patch_url":"https://github.com/graalvm/graal-core/pull/77.patch"},"body":"The partial evaluator didn't run the normal Graal invocation plugins like a standard Java compilation. Since the NFI plugin can't do anything useful when the function is not yet constant, it needs to be re-run during partial evaluation.\r\n\r\nThis PR also contains a unit test demonstrating the problem. It also includes an update of the truffle version, since the unit test triggers the NPE of graalvm/truffle#72."},"comment":{"url":"https://api.github.com/repos/graalvm/graal-core/issues/comments/188848409","html_url":"https://github.com/graalvm/graal-core/pull/77#issuecomment-188848409","issue_url":"https://api.github.com/repos/graalvm/graal-core/issues/77","id":188848409,"user":{"login":"rschatz","id":151800,"avatar_url":"https://avatars.githubusercontent.com/u/151800?v=3","gravatar_id":"","url":"https://api.github.com/users/rschatz","html_url":"https://github.com/rschatz","followers_url":"https://api.github.com/users/rschatz/followers","following_url":"https://api.github.com/users/rschatz/following{/other_user}","gists_url":"https://api.github.com/users/rschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/rschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschatz/subscriptions","organizations_url":"https://api.github.com/users/rschatz/orgs","repos_url":"https://api.github.com/users/rschatz/repos","events_url":"https://api.github.com/users/rschatz/events{/privacy}","received_events_url":"https://api.github.com/users/rschatz/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T15:47:12Z","updated_at":"2016-02-25T15:47:12Z","body":"@mrigger, this should the native call performance problems in sulong."}}