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

Issue 2781363002: [heap] Take page lock when scavenging old to new references in Scavenger. (Closed)

Created:
3 years, 8 months ago by Hannes Payer (out of office)
Modified:
3 years, 8 months ago
Reviewers:
ulan
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Take page lock when scavenging old to new references in Scavenger. BUG=v8:5807 Review-Url: https://codereview.chromium.org/2781363002 Cr-Commit-Position: refs/heads/master@{#44268} Committed: https://chromium.googlesource.com/v8/v8/+/4024e6a1bb0b803a5cd16fcd11f39cc305b943c6

Patch Set 1 #

Total comments: 1

Patch Set 2 : enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -13 lines) Patch
M src/heap/heap.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M src/heap/mark-compact.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M src/heap/remembered-set.h View 1 3 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Hannes Payer (out of office)
3 years, 8 months ago (2017-03-30 11:40:37 UTC) #2
ulan
lgtm with comment https://codereview.chromium.org/2781363002/diff/1/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2781363002/diff/1/src/heap/heap.cc#newcode1726 src/heap/heap.cc:1726: RememberedSet<OLD_TO_NEW>::Iterate(this, true, [this](Address addr) { Let's ...
3 years, 8 months ago (2017-03-30 12:04:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2781363002/20001
3 years, 8 months ago (2017-03-30 12:49:09 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/4024e6a1bb0b803a5cd16fcd11f39cc305b943c6
3 years, 8 months ago (2017-03-30 13:14:10 UTC) #9
Hannes Payer (out of office)
3 years, 8 months ago (2017-03-31 10:45:38 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2786313003/ by hpayer@chromium.org.

The reason for reverting is: This results in a deadlock when the scavenger
decides to perform sweeping and re-grabs the same mutex..

Powered by Google App Engine
This is Rietveld 408576698