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

Issue 868913002: Add Zone-based handle allocation interface and reduce use of Isolate-based interfaces. (Closed)

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

Description

Add Zone-based handle allocation interface and reduce use of Isolate-based interfaces. Remove deprecated Isolate-based BitVector constructor. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=43136

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 28

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1537 lines, -1467 lines) Patch
M runtime/vm/ast_transformer.cc View 6 chunks +9 lines, -10 lines 0 comments Download
M runtime/vm/bit_vector.h View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M runtime/vm/bit_vector_test.cc View 6 chunks +12 lines, -12 lines 0 comments Download
M runtime/vm/code_descriptors_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/compiler.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M runtime/vm/constant_propagator.cc View 1 2 3 4 3 chunks +8 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 1 2 3 4 5 chunks +8 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 20 chunks +33 lines, -22 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 178 chunks +456 lines, -452 lines 0 comments Download
M runtime/vm/flow_graph_range_analysis.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/handles.h View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M runtime/vm/handles.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/handles_impl.h View 1 2 3 4 2 chunks +18 lines, -12 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 11 chunks +58 lines, -23 lines 0 comments Download
M runtime/vm/parser.h View 5 chunks +16 lines, -13 lines 0 comments Download
M runtime/vm/parser.cc View 425 chunks +878 lines, -869 lines 0 comments Download
M runtime/vm/parser_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/unit_test.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
koda
5 years, 11 months ago (2015-01-22 23:52:24 UTC) #2
Ivan Posva
First round of comments. -Ivan https://codereview.chromium.org/868913002/diff/60001/runtime/vm/ast_transformer.cc File runtime/vm/ast_transformer.cc (right): https://codereview.chromium.org/868913002/diff/60001/runtime/vm/ast_transformer.cc#newcode143 runtime/vm/ast_transformer.cc:143: Class::ZoneHandle(Z, thread()->isolate()->object_store()->future_class()); Was wondering ...
5 years, 11 months ago (2015-01-23 04:53:04 UTC) #4
koda
PTAL https://codereview.chromium.org/868913002/diff/60001/runtime/vm/ast_transformer.cc File runtime/vm/ast_transformer.cc (right): https://codereview.chromium.org/868913002/diff/60001/runtime/vm/ast_transformer.cc#newcode143 runtime/vm/ast_transformer.cc:143: Class::ZoneHandle(Z, thread()->isolate()->object_store()->future_class()); On 2015/01/23 04:53:04, Ivan Posva wrote: ...
5 years, 11 months ago (2015-01-23 14:29:31 UTC) #5
siva
LGTM with some comments. https://codereview.chromium.org/868913002/diff/60001/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/868913002/diff/60001/runtime/vm/flow_graph_allocator.cc#newcode2028 runtime/vm/flow_graph_allocator.cc:2028: Zone* zone = Thread::Current()->zone(); Zone* ...
5 years, 11 months ago (2015-01-23 19:29:27 UTC) #6
Ivan Posva
-Ivan https://codereview.chromium.org/868913002/diff/60001/runtime/vm/constant_propagator.cc File runtime/vm/constant_propagator.cc (right): https://codereview.chromium.org/868913002/diff/60001/runtime/vm/constant_propagator.cc#newcode33 runtime/vm/constant_propagator.cc:33: reachable_(new(graph->zone()) BitVector( How about defining Z in this ...
5 years, 11 months ago (2015-01-23 19:49:25 UTC) #7
koda
https://codereview.chromium.org/868913002/diff/60001/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/868913002/diff/60001/runtime/vm/flow_graph_allocator.cc#newcode2028 runtime/vm/flow_graph_allocator.cc:2028: Zone* zone = Thread::Current()->zone(); On 2015/01/23 19:29:26, siva wrote: ...
5 years, 11 months ago (2015-01-23 21:09:43 UTC) #8
koda
https://codereview.chromium.org/868913002/diff/60001/runtime/vm/constant_propagator.cc File runtime/vm/constant_propagator.cc (right): https://codereview.chromium.org/868913002/diff/60001/runtime/vm/constant_propagator.cc#newcode33 runtime/vm/constant_propagator.cc:33: reachable_(new(graph->zone()) BitVector( On 2015/01/23 19:49:24, Ivan Posva wrote: > ...
5 years, 11 months ago (2015-01-23 21:12:10 UTC) #9
koda
5 years, 11 months ago (2015-01-26 14:54:22 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as r43136 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698