From 7a0478394749f206544fb86841bd6c62dc87f005 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 12 Apr 2022 11:27:34 +0100 Subject: dex2oat: Faster class pruning. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 181943478 Change-Id: I0f4facc13ded5e5a5755fe9bec1c32449049129a --- runtime/class_table.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/class_table.h') diff --git a/runtime/class_table.h b/runtime/class_table.h index 4c5fc62b2d..3377f14b4a 100644 --- a/runtime/class_table.h +++ b/runtime/class_table.h @@ -220,11 +220,6 @@ class ClassTable { REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); - // Returns true if the class was found and removed, false otherwise. - bool Remove(const char* descriptor) - REQUIRES(!lock_) - REQUIRES_SHARED(Locks::mutator_lock_); - // Return true if we inserted the strong root, false if it already exists. bool InsertStrongRoot(ObjPtr obj) REQUIRES(!lock_) -- cgit v1.2.3-59-g8ed1b