{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/1971","repository_url":"https://api.github.com/repos/Microsoft/ChakraCore","labels_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/1971/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/1971/comments","events_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/1971/events","html_url":"https://github.com/Microsoft/ChakraCore/pull/1971","id":188371918,"number":1971,"title":"Memory leak fixes","user":{"login":"kunalspathak","id":12488060,"avatar_url":"https://avatars.githubusercontent.com/u/12488060?v=3","gravatar_id":"","url":"https://api.github.com/users/kunalspathak","html_url":"https://github.com/kunalspathak","followers_url":"https://api.github.com/users/kunalspathak/followers","following_url":"https://api.github.com/users/kunalspathak/following{/other_user}","gists_url":"https://api.github.com/users/kunalspathak/gists{/gist_id}","starred_url":"https://api.github.com/users/kunalspathak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunalspathak/subscriptions","organizations_url":"https://api.github.com/users/kunalspathak/orgs","repos_url":"https://api.github.com/users/kunalspathak/repos","events_url":"https://api.github.com/users/kunalspathak/events{/privacy}","received_events_url":"https://api.github.com/users/kunalspathak/received_events","type":"User","site_admin":false},"labels":[{"id":307793006,"url":"https://api.github.com/repos/Microsoft/ChakraCore/labels/cla-not-required","name":"cla-not-required","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-09T22:42:59Z","updated_at":"2016-11-17T19:08:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/1971","html_url":"https://github.com/Microsoft/ChakraCore/pull/1971","diff_url":"https://github.com/Microsoft/ChakraCore/pull/1971.diff","patch_url":"https://github.com/Microsoft/ChakraCore/pull/1971.patch"},"body":"This PR includes some memory leak fixes.\r\n* Change `FunctionBodyDictionary` and `DeferredFunctionsDictionary` on `Utf8Sourceinfo` to use `LeafValueDictonary`. This will guarantee that references of functionbody stored in these dictionaries does not hold back those function bodies from getting collected.\r\n* Change `TypeTransitionMap` used in type sharing for ChangePrototype to use `WeakReferenceDictionary` so the `DynamicType` references stored in the map does not hold back those types from getting collected. Also added heuristic to periodically remove entries from this map for types that are already collected."},"comment":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/comments/261338901","html_url":"https://github.com/Microsoft/ChakraCore/pull/1971#issuecomment-261338901","issue_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/1971","id":261338901,"user":{"login":"pleath","id":15825988,"avatar_url":"https://avatars.githubusercontent.com/u/15825988?v=3","gravatar_id":"","url":"https://api.github.com/users/pleath","html_url":"https://github.com/pleath","followers_url":"https://api.github.com/users/pleath/followers","following_url":"https://api.github.com/users/pleath/following{/other_user}","gists_url":"https://api.github.com/users/pleath/gists{/gist_id}","starred_url":"https://api.github.com/users/pleath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleath/subscriptions","organizations_url":"https://api.github.com/users/pleath/orgs","repos_url":"https://api.github.com/users/pleath/repos","events_url":"https://api.github.com/users/pleath/events{/privacy}","received_events_url":"https://api.github.com/users/pleath/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T19:08:52Z","updated_at":"2016-11-17T19:08:52Z","body":"Can you merge with yesterday's redeferral fixes and do a new crawler/exprgen run? "}}
{"actor":{"display_login":"pleath"}}