{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/28224","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/28224/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/28224/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/28224/events","html_url":"https://github.com/rust-lang/rust/issues/28224","id":104821650,"number":28224,"title":"Valgrind doesn't report allocations with jemalloc on nightly","user":{"login":"apasel422","id":8644784,"avatar_url":"https://avatars.githubusercontent.com/u/8644784?v=3","gravatar_id":"","url":"https://api.github.com/users/apasel422","html_url":"https://github.com/apasel422","followers_url":"https://api.github.com/users/apasel422/followers","following_url":"https://api.github.com/users/apasel422/following{/other_user}","gists_url":"https://api.github.com/users/apasel422/gists{/gist_id}","starred_url":"https://api.github.com/users/apasel422/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apasel422/subscriptions","organizations_url":"https://api.github.com/users/apasel422/orgs","repos_url":"https://api.github.com/users/apasel422/repos","events_url":"https://api.github.com/users/apasel422/events{/privacy}","received_events_url":"https://api.github.com/users/apasel422/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-tools","name":"A-tools","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/P-medium","name":"P-medium","color":"eb6420"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/T-tools","name":"T-tools","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2015-09-04T02:58:32Z","updated_at":"2016-08-15T19:21:07Z","closed_at":null,"body":"Compiling the following code with `opt-level=0`, Valgrind reports 26 allocs for `rustc 1.2.0 (082e47636 2015-08-03)`, but 5 allocs for `rustc 1.4.0-nightly (cd138dc44 2015-09-02)`:\r\n\r\n```rust\r\nfn main() {\r\n    let mut t = 0;\r\n\r\n    for i in 0..10 {\r\n        t += *Box::new(i);\r\n    }\r\n\r\n    assert_eq!(t, 45);\r\n}\r\n```\r\n\r\nPerhaps this has something to do with #27400? In any case, it's harder to use Valgrind to debug Rust programs because of this."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/239901265","html_url":"https://github.com/rust-lang/rust/issues/28224#issuecomment-239901265","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/28224","id":239901265,"user":{"login":"nathanaeljones","id":107935,"avatar_url":"https://avatars.githubusercontent.com/u/107935?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanaeljones","html_url":"https://github.com/nathanaeljones","followers_url":"https://api.github.com/users/nathanaeljones/followers","following_url":"https://api.github.com/users/nathanaeljones/following{/other_user}","gists_url":"https://api.github.com/users/nathanaeljones/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanaeljones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanaeljones/subscriptions","organizations_url":"https://api.github.com/users/nathanaeljones/orgs","repos_url":"https://api.github.com/users/nathanaeljones/repos","events_url":"https://api.github.com/users/nathanaeljones/events{/privacy}","received_events_url":"https://api.github.com/users/nathanaeljones/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T19:21:07Z","updated_at":"2016-08-15T19:21:07Z","body":"@ssokolow You mean the 'official' nightly build would do this? What flags would I provide?"}}
{"actor":{"display_login":"nathanaeljones"}}