diff options
author | 2016-12-01 17:42:00 +0000 | |
---|---|---|
committer | 2016-12-01 17:43:09 +0000 | |
commit | 2c8c6b63da6ecb2ac701cc30f9b4fa4a8eea5cc8 (patch) | |
tree | 7b5e29f66a840e5e83c02df0b23d05501b0d63c5 /runtime/class_table.h | |
parent | 6afaa42f50157095a3cdc742afdbc3d58b833eea (diff) |
Revert "Make sure that const-class linkage is preserved, try again."
Reverting due to test failures as expected.
Bug: 30627598
Bug: 33231647
This reverts commit cb5ab35980a86b05586c402924d2e7ca9df25758.
Squashed revert "Additional debug logging for bug 33231647."
This reverts commit 00a441033db28d243fc33692d30eb2755fa81728.
Change-Id: I0c0ee1f70d47540fec99f8a797ce13571c16147c
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_) |