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

Issue 1414493003: Remove some Isolate::current_zone() calls, as it gets the zone from mutator thread not the current … (Closed)

Created:
5 years, 2 months ago by srdjan
Modified:
5 years, 2 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove some Isolate::current_zone() calls, as it gets the zone from mutator thread not the current thread BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/465cf10a7ce04045b68ad4cf1995ed913a536386

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 4

Patch Set 3 : Zones and commentw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -103 lines) Patch
M runtime/lib/bool.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/integers.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/string.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/benchmark_test.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/compiler.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/compiler.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 7 chunks +14 lines, -13 lines 0 comments Download
M runtime/vm/debugger.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/debugger.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M runtime/vm/native_api_impl.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M runtime/vm/object.h View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 8 chunks +21 lines, -14 lines 0 comments Download
M runtime/vm/service.cc View 1 2 18 chunks +40 lines, -38 lines 0 comments Download
M runtime/vm/snapshot.cc View 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
srdjan
5 years, 2 months ago (2015-10-16 22:28:17 UTC) #2
zra
IIRC, we started explicitly passing the zone to avoid slow TLS lookups. Does switching these ...
5 years, 2 months ago (2015-10-16 22:41:47 UTC) #3
srdjan
We still want to explicitly pass zones, unless the zone computation at call site is ...
5 years, 2 months ago (2015-10-16 23:23:40 UTC) #4
zra
lgtm
5 years, 2 months ago (2015-10-17 01:47:05 UTC) #5
srdjan
5 years, 2 months ago (2015-10-19 17:27:45 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
465cf10a7ce04045b68ad4cf1995ed913a536386 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698