diff options
author | 2018-01-25 13:33:07 +0000 | |
---|---|---|
committer | 2018-01-25 15:05:16 +0000 | |
commit | bff7a52e2c6c9e988c3ed1f12a2da0fa5fd37cfb (patch) | |
tree | e281a8dde61e396ed5f20c31d41086b1b1b18389 /runtime/class_linker.cc | |
parent | 83af48e9f4cdfcf3f0069c63561bab4c176bd2f1 (diff) |
Revert "Compiler changes for bitstring based type checks."
Bug: 64692057
Bug: 71853552
Bug: 26687569
This reverts commit eb0ebed72432b3c6b8c7b38f8937d7ba736f4567.
Change-Id: I7daeaa077960ba41b2ed42bc47f17501621be4be
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index e7ee9f2826..af45a69bd5 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -4482,14 +4482,6 @@ mirror::Class* ClassLinker::CreateProxyClass(ScopedObjectAccessAlreadyRunnable& Runtime::Current()->GetRuntimeCallbacks()->ClassPrepare(temp_klass, klass); - // SubtypeCheckInfo::Initialized must happen-before any new-instance for that type. - // See also ClassLinker::EnsureInitialized(). - { - MutexLock subtype_check_lock(Thread::Current(), *Locks::subtype_check_lock_); - SubtypeCheck<ObjPtr<mirror::Class>>::EnsureInitialized(klass.Get()); - // TODO: Avoid taking subtype_check_lock_ if SubtypeCheck for j.l.r.Proxy is already assigned. - } - { // Lock on klass is released. Lock new class object. ObjectLock<mirror::Class> initialization_lock(self, klass); |