diff options
author | 2016-11-24 13:03:57 +0000 | |
---|---|---|
committer | 2016-11-24 13:03:57 +0000 | |
commit | 09ded9201fbeec605b12741ae255663c14bda225 (patch) | |
tree | c0276a06f8b6dba35e843098a05be326c8f5e2ac /runtime/class_table.h | |
parent | 25dcbad4462ea7279ee2bbe0884abc25bdfac77a (diff) |
Revert "Revert "Revert "Make sure that const-class linkage is preserved."""
626-const-class-linking is failing (spurious wakeups?)
970-iface-super-resolution-gen is failing:
dex2oatd F 11-24 10:57:16 6410 6410 image_writer.cc:1144]
Check failed: !IsBootClassLoaderClass(as_klass)
java.lang.Class<java.lang.NoSuchMethodError>
Bug: 30627598
This reverts commit 25dcbad4462ea7279ee2bbe0884abc25bdfac77a.
Change-Id: Ie010169bdde45e6ccf2e04a521da4682bd817114
Diffstat (limited to 'runtime/class_table.h')
-rw-r--r-- | runtime/class_table.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/runtime/class_table.h b/runtime/class_table.h index 92634a434a..558c144013 100644 --- a/runtime/class_table.h +++ b/runtime/class_table.h @@ -84,14 +84,10 @@ class ClassTable { REQUIRES_SHARED(Locks::mutator_lock_); // Returns the number of classes in previous snapshots. - size_t NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const - REQUIRES(!lock_) - REQUIRES_SHARED(Locks::mutator_lock_); + size_t NumZygoteClasses() const REQUIRES(!lock_); // Returns all off the classes in the lastest snapshot. - size_t NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const - REQUIRES(!lock_) - REQUIRES_SHARED(Locks::mutator_lock_); + size_t NumNonZygoteClasses() const REQUIRES(!lock_); // Update a class in the table with the new class. Returns the existing class which was replaced. mirror::Class* UpdateClass(const char* descriptor, mirror::Class* new_klass, size_t hash) @@ -177,11 +173,6 @@ class ClassTable { private: void InsertWithoutLocks(ObjPtr<mirror::Class> klass) NO_THREAD_SAFETY_ANALYSIS; - size_t CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, - const ClassSet& set) const - REQUIRES(lock_) - REQUIRES_SHARED(Locks::mutator_lock_); - // Return true if we inserted the oat file, false if it already exists. bool InsertOatFileLocked(const OatFile* oat_file) REQUIRES(lock_) |