summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/class_linker.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index e7708c9357..cb67a17015 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -1473,7 +1473,6 @@ bool ClassLinker::AddImageSpace(
Runtime* const runtime = Runtime::Current();
gc::Heap* const heap = runtime->GetHeap();
Thread* const self = Thread::Current();
- ScopedAssertNoThreadSuspension nts(self, __FUNCTION__);
StackHandleScope<2> hs(self);
Handle<mirror::ObjectArray<mirror::DexCache>> dex_caches(
hs.NewHandle(dex_caches_object->AsObjectArray<mirror::DexCache>()));