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

Issue 825403003: Fix http://dartbug.com/21834 (Closed)

Created:
5 years, 11 months ago by Ivan Posva
Modified:
5 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, rmacnak
Visibility:
Public.

Description

Fix http://dartbug.com/21834 - Ensure that microtasks fire after every timer event, instead of being bunched together once all pending timers fired. - Do not wait for timer message to be delivered. Trigger timers as soon as they are ready from within the message handling loop. - Notify timers in the order of wakeup time regardless of specified timeout value. (AKA Do not allow Timer.run to overtake new Timer() scheduled operations.) R=zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=42673

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -65 lines) Patch
M runtime/lib/internal_patch.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/lib/isolate_patch.dart View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M sdk/lib/io/timer_impl.dart View 1 2 3 10 chunks +149 lines, -63 lines 0 comments Download
M tests/lib/mirrors/invocation_fuzz_test.dart View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Ivan Posva
https://codereview.chromium.org/825403003/diff/40001/tests/lib/mirrors/invocation_fuzz_test.dart File tests/lib/mirrors/invocation_fuzz_test.dart (right): https://codereview.chromium.org/825403003/diff/40001/tests/lib/mirrors/invocation_fuzz_test.dart#newcode181 tests/lib/mirrors/invocation_fuzz_test.dart:181: "foo", 'blåbærgrød', 'Îñţérñåţîöñåļîžåţîờñ', "턞", #symbol]; Ryan, what was the ...
5 years, 11 months ago (2015-01-07 00:13:09 UTC) #2
rmacnak
https://codereview.chromium.org/825403003/diff/40001/tests/lib/mirrors/invocation_fuzz_test.dart File tests/lib/mirrors/invocation_fuzz_test.dart (right): https://codereview.chromium.org/825403003/diff/40001/tests/lib/mirrors/invocation_fuzz_test.dart#newcode181 tests/lib/mirrors/invocation_fuzz_test.dart:181: "foo", 'blåbærgrød', 'Îñţérñåţîöñåļîžåţîờñ', "턞", #symbol]; On 2015/01/07 00:13:09, Ivan ...
5 years, 11 months ago (2015-01-07 00:29:25 UTC) #4
zra
https://codereview.chromium.org/825403003/diff/40001/sdk/lib/io/timer_impl.dart File sdk/lib/io/timer_impl.dart (right): https://codereview.chromium.org/825403003/diff/40001/sdk/lib/io/timer_impl.dart#newcode205 sdk/lib/io/timer_impl.dart:205: // the given timer is the earliest timer the ...
5 years, 11 months ago (2015-01-07 15:48:03 UTC) #5
Ivan Posva
PTAL Also ensured to avoid redundant event handler notifications. -Ivan https://codereview.chromium.org/825403003/diff/40001/sdk/lib/io/timer_impl.dart File sdk/lib/io/timer_impl.dart (right): https://codereview.chromium.org/825403003/diff/40001/sdk/lib/io/timer_impl.dart#newcode205 ...
5 years, 11 months ago (2015-01-07 20:52:01 UTC) #6
zra
lgtm
5 years, 11 months ago (2015-01-07 20:57:53 UTC) #7
Ivan Posva
5 years, 11 months ago (2015-01-07 22:22:06 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as r42673 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698