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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 1291803009: Enable concurrent optimization test after migrating scopes to Thread* (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Enable test. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index c7d3215bd9473da59ef811dad3fb5c816185140f..dbf03c0fe3c165bd7817a80826487ed75109a38c 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -175,7 +175,7 @@ FlowGraphCompiler::FlowGraphCompiler(
block_info_(block_order_.length()),
deopt_infos_(),
static_calls_target_table_(GrowableObjectArray::ZoneHandle(
- GrowableObjectArray::New())),
+ GrowableObjectArray::New(Heap::kOld))),
srdjan 2015/08/19 18:29:34 This is a temporary fix. Please add: TODO(srdjan):
koda 2015/08/19 18:44:28 OK, although it doesn't look temporary to me. It's
srdjan 2015/08/19 19:46:50 There is still 'garbage' created by the GrowableOb
is_optimizing_(is_optimizing),
may_reoptimize_(false),
intrinsic_mode_(false),
@@ -516,7 +516,7 @@ void FlowGraphCompiler::VisitBlocks() {
}
if (is_optimizing()) {
- LogBlock lb(Isolate::Current());
+ LogBlock lb(Thread::Current());
intervals.Add(IntervalStruct(prev_offset, prev_inlining_id));
inlined_code_intervals_ =
Array::New(intervals.length() * Code::kInlIntNumEntries, Heap::kOld);
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698