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

Issue 14794007: Preserve optimized code map during GCs weakly. (Closed)

Created:
7 years, 7 months ago by Michael Starzinger
Modified:
7 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Preserve optimized code map during GCs weakly. This change preserves the contents of optimized code maps during GCs but treats the references in this cache weakly. It uses infrastructure from code flushing to maintain a list of all caches. R=hpayer@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=14695

Patch Set 1 #

Patch Set 2 : Ported to other architecture. #

Total comments: 2

Patch Set 3 : Unhandlify AddToOptimizedCodeMap to fix bug. #

Total comments: 14

Patch Set 4 : Addressed comments by Hannes Payer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -66 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M src/mark-compact.h View 5 chunks +34 lines, -2 lines 0 comments Download
M src/mark-compact.cc View 1 2 3 4 chunks +110 lines, -0 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M src/objects.h View 1 2 3 2 chunks +19 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 7 chunks +69 lines, -33 lines 0 comments Download
M src/objects-visiting-inl.h View 2 chunks +15 lines, -7 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-heap.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Michael Starzinger
Architecture ports still missing, but ready for a first round.
7 years, 7 months ago (2013-05-14 13:32:59 UTC) #1
Michael Starzinger
Just a heads up now that the architecture ports are done ... https://codereview.chromium.org/14794007/diff/3001/src/objects.cc File src/objects.cc ...
7 years, 7 months ago (2013-05-14 18:25:05 UTC) #2
Michael Starzinger
Fix uploaded ... https://codereview.chromium.org/14794007/diff/3001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/14794007/diff/3001/src/objects.cc#newcode8998 src/objects.cc:8998: new_code_map = FACTORY->NewFixedArray(new_length); On 2013/05/14 18:25:05, ...
7 years, 7 months ago (2013-05-15 09:44:40 UTC) #3
Hannes Payer (out of office)
LGTM! just a few nits... https://codereview.chromium.org/14794007/diff/10001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/14794007/diff/10001/src/mark-compact.cc#newcode1072 src/mark-compact.cc:1072: Code* code = Code::cast(code_map->get(i ...
7 years, 7 months ago (2013-05-15 13:11:25 UTC) #4
Michael Starzinger
Addressed comments. Will land after some more benchmarking. https://codereview.chromium.org/14794007/diff/10001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/14794007/diff/10001/src/mark-compact.cc#newcode1072 src/mark-compact.cc:1072: Code* ...
7 years, 7 months ago (2013-05-15 15:09:57 UTC) #5
Michael Starzinger
7 years, 7 months ago (2013-05-15 16:09:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r14695 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698