summaryrefslogtreecommitdiff
path: root/runtime/class_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_table.h')
-rw-r--r--runtime/class_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/class_table.h b/runtime/class_table.h
index 17b87866b7..4c5fc62b2d 100644
--- a/runtime/class_table.h
+++ b/runtime/class_table.h
@@ -96,6 +96,9 @@ class ClassTable {
static uint32_t Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits)
REQUIRES_SHARED(Locks::mutator_lock_);
+ static uint32_t UpdateHashForProxyClass(uint32_t hash, ObjPtr<mirror::Class> proxy_class)
+ REQUIRES_SHARED(Locks::mutator_lock_);
+
// Data contains the class pointer GcRoot as well as the low bits of the descriptor hash.
mutable Atomic<uint32_t> data_;
static constexpr uint32_t kHashMask = kObjectAlignment - 1;