{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/29415","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/29415/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/29415/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/29415/events","html_url":"https://github.com/dart-lang/sdk/issues/29415","id":223331517,"node_id":"MDU6SXNzdWUyMjMzMzE1MTc=","number":29415,"title":"VM does back-to-back GCs","user":{"login":"ErikCorryGoogle","id":8523815,"node_id":"MDQ6VXNlcjg1MjM4MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8523815?v=4","gravatar_id":"","url":"https://api.github.com/users/ErikCorryGoogle","html_url":"https://github.com/ErikCorryGoogle","followers_url":"https://api.github.com/users/ErikCorryGoogle/followers","following_url":"https://api.github.com/users/ErikCorryGoogle/following{/other_user}","gists_url":"https://api.github.com/users/ErikCorryGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikCorryGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikCorryGoogle/subscriptions","organizations_url":"https://api.github.com/users/ErikCorryGoogle/orgs","repos_url":"https://api.github.com/users/ErikCorryGoogle/repos","events_url":"https://api.github.com/users/ErikCorryGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/ErikCorryGoogle/received_events","type":"User","site_admin":false},"labels":[{"id":219928165,"node_id":"MDU6TGFiZWwyMTk5MjgxNjU=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-vm","name":"area-vm","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":{"login":"liamappelbe","id":5958533,"node_id":"MDQ6VXNlcjU5NTg1MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5958533?v=4","gravatar_id":"","url":"https://api.github.com/users/liamappelbe","html_url":"https://github.com/liamappelbe","followers_url":"https://api.github.com/users/liamappelbe/followers","following_url":"https://api.github.com/users/liamappelbe/following{/other_user}","gists_url":"https://api.github.com/users/liamappelbe/gists{/gist_id}","starred_url":"https://api.github.com/users/liamappelbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamappelbe/subscriptions","organizations_url":"https://api.github.com/users/liamappelbe/orgs","repos_url":"https://api.github.com/users/liamappelbe/repos","events_url":"https://api.github.com/users/liamappelbe/events{/privacy}","received_events_url":"https://api.github.com/users/liamappelbe/received_events","type":"User","site_admin":false},"assignees":[{"login":"liamappelbe","id":5958533,"node_id":"MDQ6VXNlcjU5NTg1MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5958533?v=4","gravatar_id":"","url":"https://api.github.com/users/liamappelbe","html_url":"https://github.com/liamappelbe","followers_url":"https://api.github.com/users/liamappelbe/followers","following_url":"https://api.github.com/users/liamappelbe/following{/other_user}","gists_url":"https://api.github.com/users/liamappelbe/gists{/gist_id}","starred_url":"https://api.github.com/users/liamappelbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamappelbe/subscriptions","organizations_url":"https://api.github.com/users/liamappelbe/orgs","repos_url":"https://api.github.com/users/liamappelbe/repos","events_url":"https://api.github.com/users/liamappelbe/events{/privacy}","received_events_url":"https://api.github.com/users/liamappelbe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-04-21T09:37:20Z","updated_at":"2018-12-13T22:16:08Z","closed_at":"2018-12-13T22:16:08Z","author_association":"CONTRIBUTOR","body":"The VM sometimes does two old-space GCs back to back. The second one is a waste of time and battery as no garbage is ever found.\r\n\r\nHere's what I think is happening:\r\n\r\n\r\n    Mutator thread                      Compiler thread\r\n    Wants to do scavenge\r\n         or full GC\r\n    Waits for safepoint\r\n                                                  Tries to do old-space alloc\r\n                                                  No more space in old-space\r\n                                                  Waits for sweeper threads - this is a safe point\r\n    Does new-space-GC\r\n    Exits safe-point\r\n                                                  Wakes up, retries old-space alloc which still fails\r\n    Decides to do oldspace GC\r\n         because we have hit limit\r\n                                                  Decides to do full GC, starting with newspace\r\n    Starts old-space GC\r\n    Waits for safe point\r\n                                                   Wants to start newspace GC - this is a safe point\r\n    Completes old-space GC\r\n                                                   Does new-space GC\r\n                                                   Does old-space GC\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/447140135","html_url":"https://github.com/dart-lang/sdk/issues/29415#issuecomment-447140135","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/29415","id":447140135,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzE0MDEzNQ==","user":{"login":"liamappelbe","id":5958533,"node_id":"MDQ6VXNlcjU5NTg1MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5958533?v=4","gravatar_id":"","url":"https://api.github.com/users/liamappelbe","html_url":"https://github.com/liamappelbe","followers_url":"https://api.github.com/users/liamappelbe/followers","following_url":"https://api.github.com/users/liamappelbe/following{/other_user}","gists_url":"https://api.github.com/users/liamappelbe/gists{/gist_id}","starred_url":"https://api.github.com/users/liamappelbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamappelbe/subscriptions","organizations_url":"https://api.github.com/users/liamappelbe/orgs","repos_url":"https://api.github.com/users/liamappelbe/repos","events_url":"https://api.github.com/users/liamappelbe/events{/privacy}","received_events_url":"https://api.github.com/users/liamappelbe/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T22:16:08Z","updated_at":"2018-12-13T22:16:08Z","author_association":"CONTRIBUTOR","body":"Ok, it sounds like it's a non-issue now. So I'll close it until there are solid repro steps"}}
{"actor":{"display_login":"liamappelbe"}}