File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,6 @@ char* Dart::DartInit(const Dart_InitializeParams* params) {
342
342
ForwardingCorpse::Init ();
343
343
Api::Init ();
344
344
NativeSymbolResolver::Init ();
345
- NOT_IN_PRODUCT (Profiler::Init ());
346
345
UnwindingRecordsPlatform::Init ();
347
346
Page::Init ();
348
347
StoreBuffer::Init ();
@@ -486,6 +485,7 @@ char* Dart::DartInit(const Dart_InitializeParams* params) {
486
485
vm_isolate_group ()->heap ()->Verify (" Dart::DartInit" , kRequireMarked );
487
486
#endif
488
487
}
488
+ NOT_IN_PRODUCT (Profiler::Init ());
489
489
// Allocate the "persistent" scoped handles for the predefined API
490
490
// values (such as Dart_True, Dart_False and Dart_Null).
491
491
Api::InitHandles ();
Original file line number Diff line number Diff line change @@ -1895,6 +1895,8 @@ void SampleBlockProcessor::ThreadMain(uword parameters) {
1895
1895
}
1896
1896
1897
1897
IsolateGroup::ForEach ([&](IsolateGroup* group) {
1898
+ if (group == Dart::vm_isolate_group ()) return ;
1899
+
1898
1900
const bool kBypassSafepoint = false ;
1899
1901
Thread::EnterIsolateGroupAsHelper (group, Thread::kSampleBlockTask ,
1900
1902
kBypassSafepoint );
You can’t perform that action at this time.
0 commit comments