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

Issue 1309033007: Old-gen marking on separate thread (Closed)

Created:
5 years, 3 months ago by koda
Modified:
5 years, 3 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

- Add marking task running on separate thread. - A task has its own MarkingVisitor and SkippedCodeFunctions. - Weak processing still happens on main thread, with tasks paused. - Finalization (detaching code) happens in task. - Cmdline-flag "marker_tasks=0" reverts to old behavior. BUG= Committed: https://github.com/dart-lang/sdk/commit/db8e0e6423cfe842465e8397e6489fcd26deb4f2

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : Ready for review. #

Total comments: 2

Patch Set 4 : Highlight corresponding phases; finalize results in parallel. #

Total comments: 8

Patch Set 5 : Address comments. #

Total comments: 3

Patch Set 6 : Revert static method change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -29 lines) Patch
M runtime/vm/gc_marker.h View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 3 4 5 3 chunks +155 lines, -12 lines 0 comments Download
M runtime/vm/thread.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M runtime/vm/thread.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M runtime/vm/thread_registry.h View 1 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
koda
5 years, 3 months ago (2015-08-27 22:57:41 UTC) #2
koda
Extended comments about the phases, to help the reader matching up the parallel timelines in ...
5 years, 3 months ago (2015-08-28 01:26:30 UTC) #3
Ivan Posva
https://codereview.chromium.org/1309033007/diff/40001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1309033007/diff/40001/runtime/vm/gc_marker.cc#newcode428 runtime/vm/gc_marker.cc:428: isolate->heap()->new_space()->VisitObjectPointers(visitor); The GCMarker still has a heap_ reference, why ...
5 years, 3 months ago (2015-08-28 05:23:23 UTC) #4
koda
Addressed comments. Also reverted the concurrent finalization, since ISL_Print, which is used by DetachCode when ...
5 years, 3 months ago (2015-08-28 13:27:54 UTC) #5
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc#newcode428 runtime/vm/gc_marker.cc:428: isolate->heap()->new_space()->VisitObjectPointers(visitor); heap_
5 years, 3 months ago (2015-08-28 16:06:22 UTC) #6
koda
https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc#newcode428 runtime/vm/gc_marker.cc:428: isolate->heap()->new_space()->VisitObjectPointers(visitor); On 2015/08/28 16:06:22, Ivan Posva wrote: > heap_ ...
5 years, 3 months ago (2015-08-28 16:09:09 UTC) #7
Ivan Posva
-Ivan https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc#newcode428 runtime/vm/gc_marker.cc:428: isolate->heap()->new_space()->VisitObjectPointers(visitor); On 2015/08/28 16:09:09, koda wrote: > On ...
5 years, 3 months ago (2015-08-28 16:38:08 UTC) #8
koda
On 2015/08/28 16:38:08, Ivan Posva wrote: > -Ivan > > https://codereview.chromium.org/1309033007/diff/80001/runtime/vm/gc_marker.cc > File runtime/vm/gc_marker.cc (right): ...
5 years, 3 months ago (2015-08-28 16:43:04 UTC) #9
koda
5 years, 3 months ago (2015-08-28 17:00:09 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
db8e0e6423cfe842465e8397e6489fcd26deb4f2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698