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

Issue 302783007: Reuse ZoneList memory if possible. (Closed)

Created:
6 years, 6 months ago by Benedikt Meurer
Modified:
6 years, 6 months ago
Reviewers:
Jarin
CC:
v8-dev
Visibility:
Public.

Description

Reuse ZoneList memory if possible. Clear() is rather wasteful for ZoneLists, because it discards all previously allocated memory, making it impossible to reuse until the whole Zone is released. Better use Rewind(0) in this case, which just resets the length to zero. R=jarin@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21545

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M src/hydrogen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen-escape-analysis.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Benedikt Meurer
PTAL
6 years, 6 months ago (2014-05-28 04:36:53 UTC) #1
Jarin
lgtm
6 years, 6 months ago (2014-05-28 07:49:19 UTC) #2
Benedikt Meurer
6 years, 6 months ago (2014-05-28 08:06:19 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r21545 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698