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

Issue 173102: Add LowMemoryNotification to the API on Android platform.... (Closed)

Created:
11 years, 4 months ago by Feng Qian
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add LowMemoryNotification to the API on Android platform. Android system provides a unique feature that it sends a notification to the browser in low memory condition, and the browser cleans up cache and frees resources. Forcing a GC in low memory condition can free DOM objects and also can shrink the old spaces. This patch addresses the last comment in http://codereview.chromium.org/173016/show Mads Ager 2009/08/19 17:24:23 I would prefer to not use the flags to signal that a compacting collection is requested. TBR = ager Committed: http://code.google.com/p/v8/source/detail?r=2725

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -5 lines) Patch
M include/v8.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +9 lines, -1 line 0 comments Download
M src/heap.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/heap.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/mark-compact.h View 2 chunks +10 lines, -0 lines 0 comments Download
M src/mark-compact.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Feng Qian
TBR = ager
11 years, 4 months ago (2009-08-20 00:06:36 UTC) #1
Mads Ager (chromium)
11 years, 4 months ago (2009-08-20 06:48:07 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698