Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Age code to allow reclaiming old unexecuted functions (issue 10837037)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mstarzin...@chromium.org  
View profile  
 More options Oct 2 2012, 10:59 am
From: mstarzin...@chromium.org
Date: Tue, 02 Oct 2012 14:58:59 +0000
Local: Tues, Oct 2 2012 10:58 am
Subject: Re: Age code to allow reclaiming old unexecuted functions (issue 10837037)
Second round with some follow-up comments, now that I am working on the
incremental code flushing. Also as discussed offline, this CL will require
rebasing after I land one of my CLs.

https://codereview.chromium.org/10837037/diff/16023/src/mark-compact.cc
File src/mark-compact.cc (right):

https://codereview.chromium.org/10837037/diff/16023/src/mark-compact....
src/mark-compact.cc:1205: return function->code()->IsOld() &&
IsFlushable(heap, shared_info);
See comment below.

https://codereview.chromium.org/10837037/diff/16023/src/mark-compact....
src/mark-compact.cc:1210: if (!shared_info->code()->IsOld()) return
false;
1) We shouldn't remove the check for the marking bit of the code,
because it makes sure that we don't throw away un-optimized code that is
required for bailout from optimized code.

2) Also I don't think it makes much sense to flush code that is strongly
reachable through other paths, that will rather lead to increased memory
consumption because we keep recompiling code without actually collecting
it.

3) Also it might be better to move this check further to the bottom,
because it is more expensive than the others I guess. But I don't have a
strong opinion about this last point.

https://codereview.chromium.org/10837037/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »