{"action":"created","comment":{"url":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments/55654726","id":55654726,"diff_hunk":"@@ -741,18 +741,12 @@ typedef uintptr_t ecma_external_pointer_t;\n   */\n typedef struct\n {\n-  uint16_t status_flags;            /**< various status flags */\n+  uint16_t size;                    /**< real size >> MEM_ALIGNMENT_LOG */\n+  uint16_t refs;                    /**< reference counter for the byte code */\n+  uint16_t status_flags;            /**< various status flags. */","path":"jerry-core/ecma/base/ecma-globals.h","position":7,"original_position":7,"commit_id":"a07cd8533090844a6135b4e26d421e94464f69e7","original_commit_id":"a07cd8533090844a6135b4e26d421e94464f69e7","user":{"login":"zherczeg","id":2270193,"avatar_url":"https://avatars.githubusercontent.com/u/2270193?v=3","gravatar_id":"","url":"https://api.github.com/users/zherczeg","html_url":"https://github.com/zherczeg","followers_url":"https://api.github.com/users/zherczeg/followers","following_url":"https://api.github.com/users/zherczeg/following{/other_user}","gists_url":"https://api.github.com/users/zherczeg/gists{/gist_id}","starred_url":"https://api.github.com/users/zherczeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zherczeg/subscriptions","organizations_url":"https://api.github.com/users/zherczeg/orgs","repos_url":"https://api.github.com/users/zherczeg/repos","events_url":"https://api.github.com/users/zherczeg/events{/privacy}","received_events_url":"https://api.github.com/users/zherczeg/received_events","type":"User","site_admin":false},"body":"The flags contains whether the byte code is function or regexp, so it is still important. The other flag bits depends on this.","created_at":"2016-03-10T09:42:57Z","updated_at":"2016-03-10T09:42:57Z","html_url":"https://github.com/Samsung/jerryscript/pull/948#discussion_r55654726","pull_request_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/948","_links":{"self":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments/55654726"},"html":{"href":"https://github.com/Samsung/jerryscript/pull/948#discussion_r55654726"},"pull_request":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/948"}}},"pull_request":{"url":"https://api.github.com/repos/Samsung/jerryscript/pulls/948","id":62233524,"html_url":"https://github.com/Samsung/jerryscript/pull/948","diff_url":"https://github.com/Samsung/jerryscript/pull/948.diff","patch_url":"https://github.com/Samsung/jerryscript/pull/948.patch","issue_url":"https://api.github.com/repos/Samsung/jerryscript/issues/948","number":948,"state":"open","locked":false,"title":"Storing byte code size in the byte code header.","user":{"login":"zherczeg","id":2270193,"avatar_url":"https://avatars.githubusercontent.com/u/2270193?v=3","gravatar_id":"","url":"https://api.github.com/users/zherczeg","html_url":"https://github.com/zherczeg","followers_url":"https://api.github.com/users/zherczeg/followers","following_url":"https://api.github.com/users/zherczeg/following{/other_user}","gists_url":"https://api.github.com/users/zherczeg/gists{/gist_id}","starred_url":"https://api.github.com/users/zherczeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zherczeg/subscriptions","organizations_url":"https://api.github.com/users/zherczeg/orgs","repos_url":"https://api.github.com/users/zherczeg/repos","events_url":"https://api.github.com/users/zherczeg/events{/privacy}","received_events_url":"https://api.github.com/users/zherczeg/received_events","type":"User","site_admin":false},"body":"This reduces the memory consumption, because the new allocator uses less memory if\r\nthe size as available when a block is freed. Snapshot generation is also simplified.","created_at":"2016-03-09T14:11:18Z","updated_at":"2016-03-10T09:42:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c27dd1adaa5939ea33f2f445b0275a3fc2829d60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/948/commits","review_comments_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/948/comments","review_comment_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/issues/948/comments","statuses_url":"https://api.github.com/repos/Samsung/jerryscript/statuses/a07cd8533090844a6135b4e26d421e94464f69e7","head":{"label":"zherczeg:byte_code_size","ref":"byte_code_size","sha":"a07cd8533090844a6135b4e26d421e94464f69e7","user":{"login":"zherczeg","id":2270193,"avatar_url":"https://avatars.githubusercontent.com/u/2270193?v=3","gravatar_id":"","url":"https://api.github.com/users/zherczeg","html_url":"https://github.com/zherczeg","followers_url":"https://api.github.com/users/zherczeg/followers","following_url":"https://api.github.com/users/zherczeg/following{/other_user}","gists_url":"https://api.github.com/users/zherczeg/gists{/gist_id}","starred_url":"https://api.github.com/users/zherczeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zherczeg/subscriptions","organizations_url":"https://api.github.com/users/zherczeg/orgs","repos_url":"https://api.github.com/users/zherczeg/repos","events_url":"https://api.github.com/users/zherczeg/events{/privacy}","received_events_url":"https://api.github.com/users/zherczeg/received_events","type":"User","site_admin":false},"repo":{"id":52445090,"name":"jerryscript","full_name":"zherczeg/jerryscript","owner":{"login":"zherczeg","id":2270193,"avatar_url":"https://avatars.githubusercontent.com/u/2270193?v=3","gravatar_id":"","url":"https://api.github.com/users/zherczeg","html_url":"https://github.com/zherczeg","followers_url":"https://api.github.com/users/zherczeg/followers","following_url":"https://api.github.com/users/zherczeg/following{/other_user}","gists_url":"https://api.github.com/users/zherczeg/gists{/gist_id}","starred_url":"https://api.github.com/users/zherczeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zherczeg/subscriptions","organizations_url":"https://api.github.com/users/zherczeg/orgs","repos_url":"https://api.github.com/users/zherczeg/repos","events_url":"https://api.github.com/users/zherczeg/events{/privacy}","received_events_url":"https://api.github.com/users/zherczeg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zherczeg/jerryscript","description":"Ultra-lightweight JavaScript engine for Internet of Things. http://www.jerryscript.net","fork":true,"url":"https://api.github.com/repos/zherczeg/jerryscript","forks_url":"https://api.github.com/repos/zherczeg/jerryscript/forks","keys_url":"https://api.github.com/repos/zherczeg/jerryscript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zherczeg/jerryscript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zherczeg/jerryscript/teams","hooks_url":"https://api.github.com/repos/zherczeg/jerryscript/hooks","issue_events_url":"https://api.github.com/repos/zherczeg/jerryscript/issues/events{/number}","events_url":"https://api.github.com/repos/zherczeg/jerryscript/events","assignees_url":"https://api.github.com/repos/zherczeg/jerryscript/assignees{/user}","branches_url":"https://api.github.com/repos/zherczeg/jerryscript/branches{/branch}","tags_url":"https://api.github.com/repos/zherczeg/jerryscript/tags","blobs_url":"https://api.github.com/repos/zherczeg/jerryscript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zherczeg/jerryscript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zherczeg/jerryscript/git/refs{/sha}","trees_url":"https://api.github.com/repos/zherczeg/jerryscript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zherczeg/jerryscript/statuses/{sha}","languages_url":"https://api.github.com/repos/zherczeg/jerryscript/languages","stargazers_url":"https://api.github.com/repos/zherczeg/jerryscript/stargazers","contributors_url":"https://api.github.com/repos/zherczeg/jerryscript/contributors","subscribers_url":"https://api.github.com/repos/zherczeg/jerryscript/subscribers","subscription_url":"https://api.github.com/repos/zherczeg/jerryscript/subscription","commits_url":"https://api.github.com/repos/zherczeg/jerryscript/commits{/sha}","git_commits_url":"https://api.github.com/repos/zherczeg/jerryscript/git/commits{/sha}","comments_url":"https://api.github.com/repos/zherczeg/jerryscript/comments{/number}","issue_comment_url":"https://api.github.com/repos/zherczeg/jerryscript/issues/comments{/number}","contents_url":"https://api.github.com/repos/zherczeg/jerryscript/contents/{+path}","compare_url":"https://api.github.com/repos/zherczeg/jerryscript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zherczeg/jerryscript/merges","archive_url":"https://api.github.com/repos/zherczeg/jerryscript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zherczeg/jerryscript/downloads","issues_url":"https://api.github.com/repos/zherczeg/jerryscript/issues{/number}","pulls_url":"https://api.github.com/repos/zherczeg/jerryscript/pulls{/number}","milestones_url":"https://api.github.com/repos/zherczeg/jerryscript/milestones{/number}","notifications_url":"https://api.github.com/repos/zherczeg/jerryscript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zherczeg/jerryscript/labels{/name}","releases_url":"https://api.github.com/repos/zherczeg/jerryscript/releases{/id}","deployments_url":"https://api.github.com/repos/zherczeg/jerryscript/deployments","created_at":"2016-02-24T13:39:06Z","updated_at":"2016-02-24T13:39:10Z","pushed_at":"2016-03-09T14:10:35Z","git_url":"git://github.com/zherczeg/jerryscript.git","ssh_url":"git@github.com:zherczeg/jerryscript.git","clone_url":"https://github.com/zherczeg/jerryscript.git","svn_url":"https://github.com/zherczeg/jerryscript","homepage":"","size":6910,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Samsung:master","ref":"master","sha":"ab26d578414c919f645b9f0e7485414df8fa6c6e","user":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars.githubusercontent.com/u/6210390?v=3","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"repo":{"id":33339660,"name":"jerryscript","full_name":"Samsung/jerryscript","owner":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars.githubusercontent.com/u/6210390?v=3","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Samsung/jerryscript","description":"Ultra-lightweight JavaScript engine for Internet of Things. http://www.jerryscript.net","fork":false,"url":"https://api.github.com/repos/Samsung/jerryscript","forks_url":"https://api.github.com/repos/Samsung/jerryscript/forks","keys_url":"https://api.github.com/repos/Samsung/jerryscript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Samsung/jerryscript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Samsung/jerryscript/teams","hooks_url":"https://api.github.com/repos/Samsung/jerryscript/hooks","issue_events_url":"https://api.github.com/repos/Samsung/jerryscript/issues/events{/number}","events_url":"https://api.github.com/repos/Samsung/jerryscript/events","assignees_url":"https://api.github.com/repos/Samsung/jerryscript/assignees{/user}","branches_url":"https://api.github.com/repos/Samsung/jerryscript/branches{/branch}","tags_url":"https://api.github.com/repos/Samsung/jerryscript/tags","blobs_url":"https://api.github.com/repos/Samsung/jerryscript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Samsung/jerryscript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Samsung/jerryscript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Samsung/jerryscript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Samsung/jerryscript/statuses/{sha}","languages_url":"https://api.github.com/repos/Samsung/jerryscript/languages","stargazers_url":"https://api.github.com/repos/Samsung/jerryscript/stargazers","contributors_url":"https://api.github.com/repos/Samsung/jerryscript/contributors","subscribers_url":"https://api.github.com/repos/Samsung/jerryscript/subscribers","subscription_url":"https://api.github.com/repos/Samsung/jerryscript/subscription","commits_url":"https://api.github.com/repos/Samsung/jerryscript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Samsung/jerryscript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Samsung/jerryscript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Samsung/jerryscript/contents/{+path}","compare_url":"https://api.github.com/repos/Samsung/jerryscript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Samsung/jerryscript/merges","archive_url":"https://api.github.com/repos/Samsung/jerryscript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Samsung/jerryscript/downloads","issues_url":"https://api.github.com/repos/Samsung/jerryscript/issues{/number}","pulls_url":"https://api.github.com/repos/Samsung/jerryscript/pulls{/number}","milestones_url":"https://api.github.com/repos/Samsung/jerryscript/milestones{/number}","notifications_url":"https://api.github.com/repos/Samsung/jerryscript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Samsung/jerryscript/labels{/name}","releases_url":"https://api.github.com/repos/Samsung/jerryscript/releases{/id}","deployments_url":"https://api.github.com/repos/Samsung/jerryscript/deployments","created_at":"2015-04-03T01:10:31Z","updated_at":"2016-03-10T09:25:34Z","pushed_at":"2016-03-10T09:28:54Z","git_url":"git://github.com/Samsung/jerryscript.git","ssh_url":"git@github.com:Samsung/jerryscript.git","clone_url":"https://github.com/Samsung/jerryscript.git","svn_url":"https://github.com/Samsung/jerryscript","homepage":"","size":10591,"stargazers_count":1192,"watchers_count":1192,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":121,"mirror_url":null,"open_issues_count":62,"forks":121,"open_issues":62,"watchers":1192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/948"},"html":{"href":"https://github.com/Samsung/jerryscript/pull/948"},"issue":{"href":"https://api.github.com/repos/Samsung/jerryscript/issues/948"},"comments":{"href":"https://api.github.com/repos/Samsung/jerryscript/issues/948/comments"},"review_comments":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/948/comments"},"review_comment":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/948/commits"},"statuses":{"href":"https://api.github.com/repos/Samsung/jerryscript/statuses/a07cd8533090844a6135b4e26d421e94464f69e7"}}}}