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

Issue 8065003: Shrink the new space and uncommit marking deque on low memory notification. (Closed)

Created:
9 years, 2 months ago by ulan
Modified:
9 years, 1 month ago
CC:
v8-dev
Visibility:
Public.

Description

Shrink the new space and uncommit marking deque on low memory notification. BUG=v8:1669 TEST=cctest/test-heap/CollectingAllAvailableGarbageShrinksNewSpace Committed: http://code.google.com/p/v8/source/detail?r=9912

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clear compilation cache #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -12 lines) Patch
M src/heap.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/incremental-marking.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/incremental-marking.cc View 1 2 2 chunks +17 lines, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 chunks +30 lines, -11 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ulan
Please take a look when you have time. I will commit it once NewGC is ...
9 years, 2 months ago (2011-09-28 10:08:47 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM
9 years, 2 months ago (2011-09-28 12:38:00 UTC) #2
ulan
I noticed that IdleNotification clears compilation cache sometimes. Would it be useful to do the ...
9 years, 2 months ago (2011-09-29 08:36:48 UTC) #3
Vyacheslav Egorov (Chromium)
9 years, 2 months ago (2011-09-29 14:06:11 UTC) #4
http://codereview.chromium.org/8065003/diff/1/src/heap.cc
File src/heap.cc (right):

http://codereview.chromium.org/8065003/diff/1/src/heap.cc#newcode451
src/heap.cc:451: const int kMaxNumberOfAttempts = 7;
On 2011/09/29 08:36:58, ulan wrote:
> Add isolate_->compilation_cache()->Clear() ?

Yep, lets do that. Good catch.

Powered by Google App Engine
This is Rietveld 408576698