Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Issue 7744025: Centralize code for freeing LargeObjectChunks, fixing an uncommit bug. (Closed)

Created:
9 years, 4 months ago by Sven Panne
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Centralize code for freeing LargeObjectChunks, fixing an uncommit bug. Due to heavy copy-n-paste, the handling of guard pages was inconsistent and we didn't uncommit exactly the region we previously committed. Furthermore, the LOG calls weren't consistent, either. Committed: http://code.google.com/p/v8/source/detail?r=9021

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -35 lines) Patch
M src/spaces.cc View 4 chunks +15 lines, -35 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Sven Panne
9 years, 4 months ago (2011-08-25 14:59:48 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM Nice catch! http://codereview.chromium.org/7744025/diff/1/src/spaces.cc File src/spaces.cc (right): http://codereview.chromium.org/7744025/diff/1/src/spaces.cc#newcode2779 src/spaces.cc:2779: Setup(); Calling Setup from TearDown is ...
9 years, 4 months ago (2011-08-25 15:22:54 UTC) #2
Sven Panne
9 years, 4 months ago (2011-08-26 07:47:25 UTC) #3
On 2011/08/25 15:22:54, Vyacheslav Egorov wrote:
> LGTM
> 
> Nice catch!
> 
> http://codereview.chromium.org/7744025/diff/1/src/spaces.cc
> File src/spaces.cc (right):
> 
> http://codereview.chromium.org/7744025/diff/1/src/spaces.cc#newcode2779
> src/spaces.cc:2779: Setup();
> Calling Setup from TearDown is very confusing.

I thought so, too, but renaming it to something like "Reset" or "Clear" makes
its call in Heap::Setup confusing. :-} But the latter call really change
anything at all, so in its current state it's superfluous. But with the upcoming
GC merge, I don't think there is an urgent need for cosmetic changes in this
area...

Powered by Google App Engine
This is Rietveld 408576698