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

Issue 2908353002: Nonvirtual pointer visitor in GCs (Closed)

Created:
3 years, 6 months ago by Aske Simon Christensen
Modified:
3 years, 6 months ago
Reviewers:
erikcorry
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Method to visit pointers in objects using non-virtual calls to the ObjectPointerVisitor (for user-defined objects). Used for the visitors in the scavenger and marker. Each of these seems to give a few percent speed improvement for new and old space collections, respectively. Around 0.1% total VM size increase (on ARM64). R=erikcorry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/443033cc3864b0675dcad5a6ba34802a25aeaade

Patch Set 1 #

Patch Set 2 : Separated user-defined classes case so it can be inlined #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -57 lines) Patch
M runtime/vm/gc_marker.cc View 3 chunks +3 lines, -3 lines 1 comment Download
M runtime/vm/raw_object.h View 1 2 chunks +44 lines, -1 line 3 comments Download
M runtime/vm/raw_object.cc View 1 1 chunk +43 lines, -48 lines 0 comments Download
M runtime/vm/scavenger.cc View 5 chunks +5 lines, -5 lines 2 comments Download

Messages

Total messages: 5 (2 generated)
Aske Simon Christensen
3 years, 6 months ago (2017-05-30 12:41:03 UTC) #2
erikcorry
LGTM. We should do this for the built-in classes too, which may well be a ...
3 years, 6 months ago (2017-05-31 10:40:42 UTC) #3
Aske Simon Christensen
3 years, 6 months ago (2017-05-31 11:01:18 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
443033cc3864b0675dcad5a6ba34802a25aeaade (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698