diff options
author | 2016-12-09 10:20:54 +0000 | |
---|---|---|
committer | 2016-12-09 13:02:40 +0000 | |
commit | c5798bf82fc0ccd0bb90e0813d8e63df4d0576cc (patch) | |
tree | 89c94659ad977b66f4d2a90981ed7c63c0af636a /runtime/class_linker.h | |
parent | aea9ffece7eb32f3884a4ad0553e1df4d90fd9e4 (diff) |
Revert^8 "Make sure that const-class linkage is preserved."
Replaced two ReaderMutexLocks with WriterMutexLocks.
Removed some unnecessary debugging output.
Test: m test-art-host
Bug: 30627598
Original-Change-Id: Ie9b721464b4e9a5dcce8df8095548e983bba1fe8
This reverts commit 2c8c6b63da6ecb2ac701cc30f9b4fa4a8eea5cc8.
Change-Id: I3a1aeecf64e4b202cef61cceb248d48106a2f4a6
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r-- | runtime/class_linker.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index de1f0f09be..9b25303b65 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -218,12 +218,6 @@ class ClassLinker { mirror::Class* FindPrimitiveClass(char type) REQUIRES_SHARED(Locks::mutator_lock_); - // General class unloading is not supported, this is used to prune - // unwanted classes during image writing. - bool RemoveClass(const char* descriptor, ObjPtr<mirror::ClassLoader> class_loader) - REQUIRES(!Locks::classlinker_classes_lock_) - REQUIRES_SHARED(Locks::mutator_lock_); - void DumpForSigQuit(std::ostream& os) REQUIRES(!Locks::classlinker_classes_lock_); size_t NumLoadedClasses() |