{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2893","labels_url":"https://api.github.com/repos/nodejs/node/issues/2893/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2893/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2893/events","html_url":"https://github.com/nodejs/node/pull/2893","id":106695828,"number":2893,"title":"buffer: always allocate typed arrays outside heap","user":{"login":"trevnorris","id":289174,"avatar_url":"https://avatars.githubusercontent.com/u/289174?v=3","gravatar_id":"","url":"https://api.github.com/users/trevnorris","html_url":"https://github.com/trevnorris","followers_url":"https://api.github.com/users/trevnorris/followers","following_url":"https://api.github.com/users/trevnorris/following{/other_user}","gists_url":"https://api.github.com/users/trevnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/trevnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevnorris/subscriptions","organizations_url":"https://api.github.com/users/trevnorris/orgs","repos_url":"https://api.github.com/users/trevnorris/repos","events_url":"https://api.github.com/users/trevnorris/events{/privacy}","received_events_url":"https://api.github.com/users/trevnorris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/c++","name":"c++","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-16T04:20:35Z","updated_at":"2015-09-16T05:18:28Z","closed_at":"2015-09-16T05:18:28Z","pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/2893","html_url":"https://github.com/nodejs/node/pull/2893","diff_url":"https://github.com/nodejs/node/pull/2893.diff","patch_url":"https://github.com/nodejs/node/pull/2893.patch"},"body":"By default v8 allocates typed arrays <= 64 bytes inside the v8 heap. In\r\nthese cases the memory pointer returned by Buffer::Data() can change\r\nwhile the memory is being operated on. Resolve by passing a flag that\r\nforces all typed arrays outside the v8 heap.\r\n\r\nFixes: 74178a5 \"buffer: construct Uint8Array in JS\"\r\n\r\nR=@indutny \r\nR=@bnoordhuis \r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/140628610","html_url":"https://github.com/nodejs/node/pull/2893#issuecomment-140628610","issue_url":"https://api.github.com/repos/nodejs/node/issues/2893","id":140628610,"user":{"login":"trevnorris","id":289174,"avatar_url":"https://avatars.githubusercontent.com/u/289174?v=3","gravatar_id":"","url":"https://api.github.com/users/trevnorris","html_url":"https://github.com/trevnorris","followers_url":"https://api.github.com/users/trevnorris/followers","following_url":"https://api.github.com/users/trevnorris/following{/other_user}","gists_url":"https://api.github.com/users/trevnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/trevnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevnorris/subscriptions","organizations_url":"https://api.github.com/users/trevnorris/orgs","repos_url":"https://api.github.com/users/trevnorris/repos","events_url":"https://api.github.com/users/trevnorris/events{/privacy}","received_events_url":"https://api.github.com/users/trevnorris/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T05:18:28Z","updated_at":"2015-09-16T05:18:28Z","body":"Thanks. Landed in 16f86d6c57."}}