| Index: runtime/vm/isolate.cc
|
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
|
| index 55720c97d681dcebdbff57a779d9c3dc8158d180..c44a02f51923f5da1e3eec1653486336dac53377 100644
|
| --- a/runtime/vm/isolate.cc
|
| +++ b/runtime/vm/isolate.cc
|
| @@ -2574,11 +2574,6 @@ Thread* Isolate::ScheduleThread(bool is_mutator, bool bypass_safepoint) {
|
| os_thread->set_thread(thread);
|
| if (is_mutator) {
|
| mutator_thread_ = thread;
|
| - if ((Dart::vm_isolate() != NULL) &&
|
| - (heap() != Dart::vm_isolate()->heap())) {
|
| - mutator_thread_->set_top(0);
|
| - mutator_thread_->set_end(0);
|
| - }
|
| }
|
| Thread::SetCurrent(thread);
|
| os_thread->EnableThreadInterrupts();
|
| @@ -2617,13 +2612,6 @@ void Isolate::UnscheduleThread(Thread* thread,
|
| os_thread->set_thread(NULL);
|
| OSThread::SetCurrent(os_thread);
|
| if (is_mutator) {
|
| - if ((Dart::vm_isolate() != NULL) &&
|
| - (heap() != Dart::vm_isolate()->heap())) {
|
| - if (mutator_thread_->HasActiveTLAB()) {
|
| - heap()->AbandonRemainingTLAB(mutator_thread_);
|
| - }
|
| - }
|
| - ASSERT(!mutator_thread_->HasActiveTLAB());
|
| mutator_thread_ = NULL;
|
| }
|
| thread->isolate_ = NULL;
|
|
|