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

Issue 16286018: Prevent excessive processing of weak maps while marking. (Closed)

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

Description

Prevent excessive processing of weak maps while marking. This makes sure processing of Harmony weak maps is only triggerd twice during a mark-compact collection. Note that the processing itself still is a fix-point iteration with quadratic worst-case time. R=hpayer@chromium.org BUG=v8:2699 Committed: http://code.google.com/p/v8/source/detail?r=14940

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed comments by Hannes Payer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M src/heap.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/mark-compact.h View 1 1 chunk +8 lines, -4 lines 0 comments Download
M src/mark-compact.cc View 1 6 chunks +22 lines, -23 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Michael Starzinger
7 years, 6 months ago (2013-06-04 15:34:06 UTC) #1
Hannes Payer (out of office)
LGTM! one renaming nit. https://codereview.chromium.org/16286018/diff/1/src/mark-compact.h File src/mark-compact.h (right): https://codereview.chromium.org/16286018/diff/1/src/mark-compact.h#newcode854 src/mark-compact.h:854: void ProcessAtomicMarking(RootMarkingVisitor* visitor); The function ...
7 years, 6 months ago (2013-06-04 16:29:58 UTC) #2
Michael Starzinger
https://codereview.chromium.org/16286018/diff/1/src/mark-compact.h File src/mark-compact.h (right): https://codereview.chromium.org/16286018/diff/1/src/mark-compact.h#newcode854 src/mark-compact.h:854: void ProcessAtomicMarking(RootMarkingVisitor* visitor); On 2013/06/04 16:29:58, Hannes Payer wrote: ...
7 years, 6 months ago (2013-06-04 16:42:41 UTC) #3
Michael Starzinger
Addressed comments. Landing. https://codereview.chromium.org/16286018/diff/1/src/mark-compact.h File src/mark-compact.h (right): https://codereview.chromium.org/16286018/diff/1/src/mark-compact.h#newcode854 src/mark-compact.h:854: void ProcessAtomicMarking(RootMarkingVisitor* visitor); On 2013/06/04 16:42:41, ...
7 years, 6 months ago (2013-06-04 17:16:08 UTC) #4
Michael Starzinger
7 years, 6 months ago (2013-06-04 17:20:19 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r14940 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698