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

Issue 2084193003: Reapply "Background finalization." (Closed)

Created:
4 years, 6 months ago by rmacnak
Modified:
4 years, 6 months ago
Reviewers:
siva
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

Reapply "Background finalization." - Fix double-finalization by marking handles that are in a finalization queue. - Remember external size in words instead of bytes. - Add SlowFinalizer test. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/103e316f6a1b90cd52fb058ddb1efa404b9c33dc

Patch Set 1 #

Total comments: 2

Patch Set 2 : test with monitors #

Total comments: 5

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -55 lines) Patch
M runtime/vm/dart_api_impl_test.cc View 1 2 13 chunks +85 lines, -13 lines 0 comments Download
M runtime/vm/dart_api_state.h View 12 chunks +81 lines, -23 lines 0 comments Download
A runtime/vm/dart_api_state.cc View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M runtime/vm/gc_marker.cc View 3 chunks +19 lines, -5 lines 0 comments Download
M runtime/vm/heap.h View 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 2 chunks +16 lines, -5 lines 0 comments Download
M runtime/vm/profiler.h View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/scavenger.cc View 4 chunks +16 lines, -6 lines 0 comments Download
M runtime/vm/thread.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
rmacnak
4 years, 6 months ago (2016-06-22 01:16:22 UTC) #2
siva
lgtm https://codereview.chromium.org/2084193003/diff/1/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/2084193003/diff/1/runtime/vm/dart_api_impl_test.cc#newcode2421 runtime/vm/dart_api_impl_test.cc:2421: OS::Sleep(50); I hope this sleep on every call ...
4 years, 6 months ago (2016-06-22 04:43:30 UTC) #3
rmacnak
https://codereview.chromium.org/2084193003/diff/1/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/2084193003/diff/1/runtime/vm/dart_api_impl_test.cc#newcode2421 runtime/vm/dart_api_impl_test.cc:2421: OS::Sleep(50); On 2016/06/22 04:43:29, siva wrote: > I hope ...
4 years, 6 months ago (2016-06-22 17:50:45 UTC) #4
siva
lgtm with one comment regarding removing the EnterIsolate code. https://codereview.chromium.org/2084193003/diff/20001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/2084193003/diff/20001/runtime/vm/dart_api_impl_test.cc#newcode2432 runtime/vm/dart_api_impl_test.cc:2432: ...
4 years, 6 months ago (2016-06-22 22:55:32 UTC) #5
rmacnak
https://codereview.chromium.org/2084193003/diff/20001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/2084193003/diff/20001/runtime/vm/dart_api_impl_test.cc#newcode2432 runtime/vm/dart_api_impl_test.cc:2432: } On 2016/06/22 22:55:31, siva wrote: > See comment ...
4 years, 6 months ago (2016-06-22 23:13:48 UTC) #6
rmacnak
4 years, 6 months ago (2016-06-22 23:26:55 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
103e316f6a1b90cd52fb058ddb1efa404b9c33dc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698