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

Issue 14208005: Use worst-fit allocation in old space for prentured objects.

Created:
7 years, 8 months ago by Hannes Payer (out of office)
Modified:
7 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Use worst-fit allocation in old space for prentured objects. BUG=

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 14

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -68 lines) Patch
M src/heap.h View 1 2 3 4 3 chunks +21 lines, -3 lines 0 comments Download
M src/heap.cc View 1 2 3 4 8 chunks +16 lines, -8 lines 0 comments Download
M src/heap-inl.h View 1 2 3 4 5 chunks +10 lines, -9 lines 0 comments Download
M src/mark-compact.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/spaces.h View 1 2 3 4 11 chunks +35 lines, -2 lines 0 comments Download
M src/spaces.cc View 1 2 3 4 11 chunks +105 lines, -39 lines 0 comments Download
M src/spaces-inl.h View 1 2 3 chunks +12 lines, -3 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Hannes Payer (out of office)
7 years, 8 months ago (2013-04-16 12:46:24 UTC) #1
Michael Starzinger
https://codereview.chromium.org/14208005/diff/3001/src/spaces.cc File src/spaces.cc (right): https://codereview.chromium.org/14208005/diff/3001/src/spaces.cc#newcode2265 src/spaces.cc:2265: if (node != NULL) return node; Missing statistical book-keeping ...
7 years, 8 months ago (2013-04-16 13:29:27 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/14208005/diff/3001/src/spaces.cc File src/spaces.cc (right): https://codereview.chromium.org/14208005/diff/3001/src/spaces.cc#newcode2265 src/spaces.cc:2265: if (node != NULL) return node; On 2013/04/16 13:29:27, ...
7 years, 8 months ago (2013-04-16 13:41:04 UTC) #3
Michael Starzinger
LGTM.
7 years, 8 months ago (2013-04-16 14:26:09 UTC) #4
Hannes Payer (out of office)
7 years, 8 months ago (2013-04-24 13:56:42 UTC) #5
I fixed the allocation statistics bug and the resulting performance regression.
I added a new heuristic AggressivePromotionMode which allows a larger old
generation when objects are pretenured.

Powered by Google App Engine
This is Rietveld 408576698