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

Issue 193473002: Fix external size accounting for prologue weak persistent handles. (Closed)

Created:
6 years, 9 months ago by koda
Modified:
6 years, 9 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, siva
Visibility:
Public.

Description

Fix external size accounting for prologue weak persistent handles. Include prologue weak persistent handles (PWPH) when checking for promotion. Since pointers have already been updated for PWPHs, use a bit in the handle to remember whether the referent used to be in new space. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=33552

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -24 lines) Patch
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 3 4 5 5 chunks +52 lines, -17 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 5 3 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
koda
6 years, 9 months ago (2014-03-10 23:21:35 UTC) #1
siva
https://codereview.chromium.org/193473002/diff/40001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/193473002/diff/40001/runtime/vm/dart_api_impl_test.cc#newcode2273 runtime/vm/dart_api_impl_test.cc:2273: EXPECT(heap->ExternalInWords(Heap::kNew) == kWeakExternalSize / kWordSize); EXPECT(heap->ExternalInWords(Heap::kOld) == 0); https://codereview.chromium.org/193473002/diff/40001/runtime/vm/dart_api_state.h ...
6 years, 9 months ago (2014-03-11 16:35:01 UTC) #2
koda
PTAL https://codereview.chromium.org/193473002/diff/40001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/193473002/diff/40001/runtime/vm/dart_api_impl_test.cc#newcode2273 runtime/vm/dart_api_impl_test.cc:2273: EXPECT(heap->ExternalInWords(Heap::kNew) == kWeakExternalSize / kWordSize); On 2014/03/11 16:35:01, ...
6 years, 9 months ago (2014-03-11 17:35:45 UTC) #3
siva
lgtm https://codereview.chromium.org/193473002/diff/80001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/193473002/diff/80001/runtime/vm/scavenger.cc#newcode703 runtime/vm/scavenger.cc:703: bool prologue_weak_are_strong = !invoke_api_callbacks; const bool prologue_weak_are_strong = ...
6 years, 9 months ago (2014-03-11 18:20:37 UTC) #4
koda
https://codereview.chromium.org/193473002/diff/80001/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/193473002/diff/80001/runtime/vm/scavenger.cc#newcode703 runtime/vm/scavenger.cc:703: bool prologue_weak_are_strong = !invoke_api_callbacks; On 2014/03/11 18:20:37, siva wrote: ...
6 years, 9 months ago (2014-03-11 20:20:12 UTC) #5
koda
6 years, 9 months ago (2014-03-11 20:27:47 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 manually as r33552 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698