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

Issue 198463007: - Make ports be less predictable. (Closed)

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

Description

- Make ports be less predictable. Committed as r 34209.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M runtime/vm/message_handler.cc View 1 chunk +3 lines, -2 lines 1 comment Download
M runtime/vm/port.h View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/port.cc View 3 chunks +6 lines, -7 lines 2 comments Download
M runtime/vm/random.h View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ivan Posva
6 years, 9 months ago (2014-03-20 19:23:12 UTC) #1
turnidge
lgtm w/ comments Make sure you run all tests (not just vm tests) to catch ...
6 years, 9 months ago (2014-03-20 20:28:57 UTC) #2
kasperl
https://codereview.chromium.org/198463007/diff/1/runtime/vm/port.cc File runtime/vm/port.cc (right): https://codereview.chromium.org/198463007/diff/1/runtime/vm/port.cc#newcode68 runtime/vm/port.cc:68: while ((result == 0) && (FindPort(result) >= 0)) { ...
6 years, 9 months ago (2014-03-26 11:39:02 UTC) #3
kasperl
This change seems to have broken the x64 build by making command-line apps run from ...
6 years, 9 months ago (2014-03-26 12:52:35 UTC) #4
hausner
6 years, 9 months ago (2014-03-28 23:13:20 UTC) #5
Message was sent while issue was closed.
LGTM

https://codereview.chromium.org/198463007/diff/1/runtime/vm/port.cc
File runtime/vm/port.cc (right):

https://codereview.chromium.org/198463007/diff/1/runtime/vm/port.cc#newcode68
runtime/vm/port.cc:68: while ((result == 0) && (FindPort(result) >= 0)) {
What Kasper says. And you could turn this into a do { } while() loop.

Powered by Google App Engine
This is Rietveld 408576698